comp311_2.ngc
1 (this is the program describing entry moves for) 2 (radius compensation in Figure 3 of the Handbook) 3 (http://www.linuxcnc.org/handbook/RS274NGC_3/RS274NGC_38a.html#999268) 4 5 g20 f60 6 7 (first, no compensation so we can see the part outline) 8 g0 z1 9 g0 x1 y4 10 g1 z0 11 g3 x2 y3 i1 12 g2 x3 y2 j-1 13 g1 y-1 14 g2 x2 y-2 i-1 15 g1 x-2 16 g2 x-2.6 y-0.2 j1 17 g1 x1.4 y2.8 18 g2 x2 y3 i.6 j-.8 19 20 (with compensation) 21 t4 m6 22 g0 z1 23 g0 x1 y4 24 g1 z0 25 g41 26 g3 x2 y3 i1 27 g2 x3 y2 j-1 28 g1 y-1 29 g2 x2 y-2 i-1 30 g1 x-2 31 g2 x-2.6 y-0.2 j1 32 g1 x1.4 y2.8 33 g2 x2 y3 i.6 j-.8 34 g40 35 36 m2