PEZ / SketchSeparateShapes

A Sketch-app plugin that does a ”boolean” separate operation on two selected shapes. Like divide in Pathfinder in Adobe Illustrator.
164 stars 10 forks source link

Incorrect separate several shapes #8

Open Mikola35 opened 6 years ago

Mikola35 commented 6 years ago

We have 3 overlaping ovals. And we see 7 areas. 1mdpi

I think, after separate we should have 7 shapes: correctmdpi

But in real, we have 5 shapes: incorrectmdpi

With animation (for more clear): screencast 2018-02-09 19-35-36

Mikola35 commented 6 years ago

I tried to play with other options: legendmdpi

slicemdpi

slicemdpi

slicemdpi

PEZ commented 6 years ago

I agree it would be desirable with this behaviour. But it is quite clearly stated in the readme what to expect: The bottommost shape will be considered the base and all other shapes will get separated from this shape, and not from each other.

I will keep figuring on how to separate 'em all. And I think your specs here will help a lot with thinking it through. Thanks!

PEZ commented 5 years ago

@Mikola35 , can you describe the steps you would take, using only Sketch built in tools, to create the correct results here. After all, this was how we started with this plugin, you describing the manual process.

Mikola35 commented 5 years ago

@PEZ I tried it again with three or more shapes but it really difficult. So many corner cases. Now I don't see clear algorithm for this issue. I will try it again later.