%

g17 g20 g40 g49 g54 g80 g90 g94

 

#1 = .2 (move)

#2 = .5 (retract)

#3 = -.1 (cutting depth)

 

 O100 sub

g0 z #1

x.15 y-.15

z #3

 

g0 z [#1 + .2]

g1 f4 z [#3 -.1]

x2

y-.5

x.15

y-.15

g0 z #1
x0 y0

 O100 endsub

 

O100 call

O100 call

 

m2

%

Add a code snippet to your website: www.paste.org