Here is an example of how to make a cylinder, naming it "rod"
for future reference: The center of one end of this cylinder is
at x=0, y=2, and z=1. Its axis lies along the x axis, with
length 5, so that the other end of the cylinder is at (5,2,1),
as shown in the accompanying diagram. You can modify the
position of the cylinder after it has been created, which has
the effect of moving it immediately to the new position: rod.pos
= (15,11,9) # change position (x,y,z) rod.x = 15 # only change
pos.x If you create an object such as a cylinder but without
giving it a name such as rod, you can't refer to it later. This
doesn't matter if you never intend to modify the object. Since
we didn't specify a color, the cylinder will be the current
"foreground" color (see Controlling One or More Visual Display
Windows). The default foreground color is white. After creating
the cylinder, you can change its color: rod.color = (0,0,1) #
make rod be blue This will make the cylinder suddenly turn blue,
using the so-called RGB sys