Instructions
Figure 11
This program is just an exercise, and I’m not going to write any Z-axis code. The 0
starting point is located in the upper right-hand corner. Of course, we’ll also use cutter
comp to generate this shape. Now, read the code I wrote and examine Fig. 11 again and
visualize where the starting and stopping points are in your mind before you run the
program in backplot. This is what we are striving for, because a real professional
programmer can read code like a letter.
The entire program:
%
(rectangle, arc and tangent)
g00 g40 g90 x0 y1 z0
g41 d1 x0 y.5
g01 y0 f16
y-2.000
x-1.7032
g03 x-2.2013 y-2.4564 i0 j-.5
g01 x-2.2488 y-3.000
x-4.000
y0
x0
56