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