Good Oklahoma afternoon to you all.
I just updated the PR related to this thread. This latest version handles a broader variety of use cases. Images #1 and #2 are examples of the new PR feature.
One major improvement is the handling of the ends of the paths. This new version stops the paths almost** perpendicular to the end of the edge(s) selected, eliminating the wrap around seen in earlier versions.
Another major improvement is the handling of sub-areas created by complex edge selections, creating compound paths. In image #5, the long yellow b-spline edge is selected. Due to the size of the cutter, the edge creates a compound path, creating the hole that must be processed also. This version should identify these isolations created and include them in the path generation.
And, as an unplanned bonus (really, I didn't intend or code for this), many bottom edges are accepted as inputs, not just the top edge. Nonetheless, I am still suggesting the user select top edges if available.
The more rigorous testing that failed with the earlier versions is now passing.
However, I have identified one use case that will cause additional edges to be added because of the proximity of unselected model geometry to the selected edge(s). The good news is that in this case the path generated is legitimate, and observing the model geometry. In image three the hexagonal extrusion is far enough away from the circular outer edge to allow the cutter to pass. But, if the extrusion is too close to the circular edge, the protrusion is added to the path. See images #3 and #4
** The path is allowed to pass the perpendicular point a little so as to release the corner when an adjacent edge is profiled.
Edit: The `OffsetExtra` and `UseComp` values arenot observed with open edges. I'll get this fixed in the next few days.
May Jehovah's peace abound to every edge of the Earth.
Have fun and don't fear the EDGE. LOL
- PathProfileEdges_OpenEdges-B.png (134.03 KiB) Viewed 300 times
- PathProfileEdges_OpenEdges-A.png (155.38 KiB) Viewed 300 times
- No added edges because sufficient clearance
- PathProfileEdges_OpenEdges-D.png (142.91 KiB) Viewed 300 times
- added edges because of insufficient clearance
- PathProfileEdges_OpenEdges-E.png (113.35 KiB) Viewed 300 times
- sub-regions created by complex edge(s) are identified and cut
- PathProfileEdges_OpenEdges-C.png (129.32 KiB) Viewed 300 times
Last edited by Russ4262
on Mon Feb 24, 2020 12:31 pm, edited 2 times in total.