% M3 ;Turn spindle clockwise (n/a) ; Cut line from x1 y1 x2 y2 depth - presumes start at 0 0 o sub # = #1 ; start X # = #2 ; start Y # = #3 ; end X # = #4 ; end Y # = #5 ; depth in mm # = 50 F# ;Set Feed Rate Slow # = 5 G00 Z# ;Go up to safe height G00 X# Y# G01 Z# G01 X# Y# ; G3 X0 Y62 I-62 J-0 G3 X-53.6936 Y31.0000 I-0.0000 J-62.0000 o endsub G00 X-60 Y62 Z0 ; Start in middle # = -10 # = 0 # = 0.5 o while [ # GE # ] # = [# - #] ; cut line o call [60] [62] [0] [62] [#] o endwhile ; return to zero G00 Z10 ; G00 X0 Y0 ; G00 Z0 M5 %