Out of curiosity, I created processed a Cut Sphere Job, with a BallEndMill using the algo I have worked on.
I make a face on the top of the stock model from the OuterWires of the Radial offset ToolSurface.
From that, I use PathFeatureArea to create a Zig-Zag or Offset pattern onto the stocktop.
The wires of the tool path pattern are projected using
Code: Select all
makeParallelProjection(path_wires,-Vec_Z)
onto the Radial offset ToolSurface. In the projection, the result is in lines, and the inspect-GCode shows G1 codes.
- GCode__Projection.png (264.06 KiB) Viewed 700 times
In contrast, if I use Part.Section to slice the same Radial offset ToolSurface generated in my script, then make a Path.FromShape, the GCode generated uses G1/G2/G3, as needed.
- GCode__PartSlice.png (195.39 KiB) Viewed 700 times
Path's Wire->GCode generation supports either. Where mesh results in lines, can they be converted to arcs?