Files
linuxcncAllWasm/nc_files/plasmac/metric_circles.ngc
2026-08-20 06:17:39 +08:00

25 lines
422 B
Plaintext

(metric circles)
#1 = 50 (Scale)
#2 = 3 (Iterations)
#3 = 762 (Feed Rate)
#4 = 0.5
#5 = [#1*#2*#4]
G21 (metric units)
G64 P0.125 (path tolerance)
M52 P1 (enable adaptive feed)
F#<_hal[plasmac.cut-feed-rate]> (feed rate from cut parameters)
o100 repeat [#2]
G0 X[#5+-#4*#1] Y[#5+0]
M3 $0 S1 (start plasma torch)
G2 I[#4*#1]
M5 $0 (stop plasma torch)
#4 = [#4+0.5]
o100 endrepeat
G0 X0 Y0
M2 (end program)