Instructions

Figure 16
Let’s write the code for this simple yet not-so-simple shape. One thing I must state again
is that I’m having a terrible time with careless errors. I think the problem is that I’m more
worried about how I’m going to explain each problem than I am in entering the correct
numbers. Don’t fall into my trap. You don’t have to explain to me how you did it, so
learn from my mistakes. Become a hermit while you are studying so you don’t make
careless errors.
The entire program:
%
(pulley program)
g00 g40 g90 x0 y1 z0
x-.500
g41 d1 y.500
g01 y0 f12
g02 x-1.0625 y-.4961 i-.500 j0
g01 x-3.0313 y-.2480
g02 x-3.0313 y.2480 i.0313 j.2480
g01 x-1.0625 y.4961
g02 x-.500 y0 i.0625 j-.4961
g00 g40 x0
x0 y1 z0
m2
%
60