Did anyone already work on a GH definition to prepare curves for 2D cutting ?
-Sort "inner curves" to be cut before "outer curves"
-Offset curves to account for tool width
-Add small"lead in" segments (on the proper side of pattern) to avoid starting off on part edges
-etc...
Cheers,
Here's my first attempt.
Within the set of curves used as example, the definition finds and labels :
-Non-closed curves
-Cases where the lead-in segment cuts an actual part
The inner loops are cut first, and the offset for tool diameter is adjustable.
For the non straight shapes, I used an adjustable "divide by length" discretization; since I have a KRC2, I can't use the "Spline path".
It might be better to use "Circular paths", but I haven't found the way to deal with full circles yet.
Feel free to comment.
Cheers,
Here's a new version with :
-Debug for the case where there is only one part (one outer loop)
-Better offsets (thanks Markku)
-Better discretization of curves, based on deviation
-On-screen indication of outer and inner loop lengths (requires the "Human" plugin)
-"Flyover" time optimized for outer and inner loops
Cheers, and a happy new year to all !
Here's my first practical application of the definition : https://www.youtube.com/watch?v=zLoKY71sPB0
Beautiful, I shared it on our Facebook site as well!
Best,
Johannes
Nice of you... Thanks !