When I setup those operations I use the total depth to be milled as the stock value. Then set step to some number that works for depth of cut.
Attachment 426754
hope this helps

btw I found some rotary ops generated code to be kind of flakey with lots of strange un-needed moves. I tend to set and tune settings until I get good clean code. Not clear if its the model, me or the operation settings that causes this or all 3.

Same operation setup in using 2d contour for the same rotary operation. Then normal depth of cut is used to control number of rough passes

Attachment 426758

Sample of code generated by 4th axis rotary operation and also same thing using 4th axis 2d contour used with rotary settings.
(Rotary machining oring)


N60 T10 G43 H10 M6
(0.125 Spherical Mill C2 Carbide)
N70 S5100 M3 M8
N80 G0 G94 A0.
N90 M1
(Set B-axis tilt position0 degrees)
N100 X1.0195 Y0.
N110 Z0.7503
N120 G1 Z0.6041 F6.
N130 G93 A-358.767 F1.59
N140 A-359.386 F919.41
N150 Y-0.0001 Z0.584 A-359.693 F296.42
N160 Y0. Z0.5641 A-360. F296.95
N170 A-718.767 F1.7
N180 A-719.388 F981.44
N190 G94 Y0.0003 Z0.639 F6.
N200 Z0.739 F6.
N210 G0 Z0.7503




(2D contouring rotary groove oring)
N220 A-41.923
N230 X1.0185 Y0.
N240 Z1.65
N250 Z0.795
N260 G1 Z0.595 F6.
N270 G93 A318.077 F1.6
N280 G0 Z1.65
N290 Z0.77
N300 G1 G94 Z0.57 F6.
N310 G93 A678.077 F1.68
N320 G0 Z1.65
N330 G30 Z1.65 M5 M9
N340 M30
%