Hi @nmi, @LibertyMachine
Thanks for the responses! Seth - I appreciate the great video that helped me discover the cause of this error. When a value of zero is used for the Horizontal lead-in/out radius with In Control compensation, the tapering of the path is forcing the code to output a spiral move, rather than a true circular move. You can see this in the lines of code from the dumper post below:
262: onMovement(MOVEMENT_CUTTING /*cutting*/)
262: onCircular(false, -1.6784474073073233e-15, 1.1189649382048822e-15, -0.9999999849815068, -0.5262889636783149, -0.5343406406913217, -0.900000024029589, 92.00000192236712)
direction: CCW
sweep: 701.999999deg
normal: X=0 Y=0 Z=1 (XY)
spiral
start radius: 0.559017
end radius: 0.75
delta radius: 0.190983
helical pitch: 0.076923
Because this move is being posted as a spiral rather than a circular move, the IJKs are not being output. And because the Thread milling toolpath does not include Smoothing options, it is difficult to force the arc moves, which leads to the many linear moves you were seeing in your code.
Setting the horizontal lead-in/out parameter to a value allows the path to generate correctly because the outer diameter of the toolpath is no longer tapered unintentionally. I also found that using a zero value for the Horizontal Lead-in/out with Wear compensation rather than In Control. We can see that these options output a truly circular path in the dumper post output below:
262: onCircular(false, -1.6784474073073233e-15, 1.1189649382048822e-15, -0.9999999849815068, -0.15450849307803657, -0.47552825897697387, -0.900000024029589, 92.00000192236712)
direction: CCW
sweep: 702deg
normal: X=0 Y=0 Z=1 (XY)
radius: 0.5
helical pitch: 0.076923
As I cannot see any reason for the use of In Control compensation and no Horizontal Lead-in/out to result in a tapered toolpath, I have logged an issue (CAM-7331) with our development team to look into this issue. I will keep this thread updated as I have more information to share about a resolution to this behavior - please let me know if you have any questions.
Paul Clauss
Product Support Specialist
