Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Mystic. Sometime forms are not separated correctly #4

Open
Mikola35 opened this issue Feb 6, 2018 · 5 comments
Open

Mystic. Sometime forms are not separated correctly #4

Mikola35 opened this issue Feb 6, 2018 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Mikola35
Copy link

Mikola35 commented Feb 6, 2018

Correct:
1 correct

Incorrect:
2 incorrect

Full video with other examples:
https://www.dropbox.com/s/8i0vf7vjiz20yh1/mystic.mp4?dl=0

@PEZ PEZ added the bug Something isn't working label Feb 6, 2018
@PEZ
Copy link
Owner

PEZ commented Feb 6, 2018

Oh, no's! I think it could have something to do with the winding rules. Which would be a bit hard to fix, since I don't know how to ”see” from the plugin. I'll have a look.

@PEZ
Copy link
Owner

PEZ commented Feb 6, 2018

I can't really figure this out yet. The only thing I can find is a workaround:

  1. Duplicate the line.
  2. Intersect the line and its copy.
  3. Separate the intersection and the oval.

@bomberstudios
Copy link

Not sure if this is what you're looking for, but layer.windingRule() will return either 0 for NSNonZeroWindingRule or 1 for NSEvenOddWindingRule

@PEZ PEZ added the help wanted Extra attention is needed label Feb 7, 2018
@PEZ
Copy link
Owner

PEZ commented Feb 7, 2018

Here is a slightly better workaround: If the split fails, undo and redo it with the start and end points of the line reversed.

@a2sc
Copy link

a2sc commented Nov 12, 2019

Hi guys.
My opinion is that there is no need to fix the "Separate SHAPES" plugin.
Actually, it is not a bug! A line is not really a shape!
In Adobe Illustrator, you could not achieve this (I tested it in the last version), and it is normal.

If you really want to achieve this, you can use a 1px height rectangle instead of the line… and it works!

@PEZ Congratulations for this great plugin.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants