(Code for cutting the end/start of a series of complete links)
G17 G21 G40 G49 G54 G80 G90 G94
#3= 500
#4= 300
(Tool is 3mm diameter straight bit)
G0 x[0.000] y[0.000] z[10.000] F#3(machine start)
O101 repeat [15]
G1 z[-4.000] F#4
G1 x[4.757] y[4.757]
G2 x[10.500] y[14.809] I[4.243] J[4.243] F#4
G1 x[10.500] y[21.000]
G1 x[16.500]
G1 y[16.500]
G0 z[10.000] F#3
G0 x[18.000] y[9.000] F#3
G1 z[-4.000] F#4 (Drill pivot hole)
G0 z[10.000] F#3
G0 x[17.890] y[0.000] F#3
G1 z[-4.000] F#4
G2 x[16.500] y[17.890] I[0.000] J[9.000] F#4
G0 z[10.000] F#3
G0 x[35] y[0] (step to next start position)
G92 x0 y0 z10 (set new position as start)
O101 endrepeat