...
Inputs Needed to Call the Tee Function
origin - a 3*1 matrix with x,y,z positions corresponding to the point where the tee will be drawn.
R1 - the inner radius of the main pipe.
R2 - the outer radius of the main pipe.
R3 - the outer radius of the three larger pipes the sockets of the tee.
L - the length of the skinnier pipes of the tee.
H - the length of the three larger pipes (or depth) of the sockets of the tee.
Inputs Defined within the Tee Function
...
- x : origin0 + zc
- y : origin2 + L/2 - zc
*zc is a zooming constant used to add a short length to some dimensions in order to be sure an entire object is selected
p12 =
- x : origin0 + zc
- y : origin2 + L/2
...
zoom win - zooms the workspace to a smaller focus area
zoom win1 - zooms the workspace to a still smaller focus area
cylinder1 - creates a cylinder with length 'L' that comes out of the page.
...
viewfront - sets the workspace so that the user is viewing the object from the front.
zoom win1 - zooms the workspace to a focus area
mirror1 - mirrors the bottom pipe 90 degrees clockwise.
...