fellesverkstedet/Bark-beetle-parametric-toolpaths

Pocket with curves inside that form an island get recognized as a curve inside a curve

Closed this issue · 3 comments

See example below: Area with X should create a pocket as well. But in current logic it defines it as an area inside an area and therefore skipping it.
image

Here's another example of issues with curves inside inside. This works well:
image
Now if I add these curves on the bottom right, it messes up the inside inside.
image

With sorting out the offset component as described in #41 I also fixed these issues. Very satisfying to see these special cases being calculated. Even a tiny bit faster than the old offset componentimage

Greeeeeeeeeeeeeeat! As mentioned in the other issues, the improved pocket function is now included in the latest CNC milling example. b1dd65f