- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
It appears that Sketch.offset does not handle negative offsets - the behavior I observe is the same if i provide no offset, zero offset, or a negative offset...
So, my question is this. Given a closed shape how can I reliable "grow" or "shrink" it? I need a way to find a point that is either "outside" or "inside" the shape respectively.
I can code up my own solution using ray crossing (draw an infinite, or sufficiently large, line from some point in any direction and count how many times it crosses the shape - odd: the point is inside the shape; even: the point is outside). But, in my case, it'd be so much easier if offset just allowed me to use a negative value; then i could simply use sketch.modelToSketchSpace(face.pointOnFace) as a point known to be "inside" the outer loop and "outside" any inner loops.
Solved! Go to Solution.
