{float:left|border=2px solid black}
!tank1.JPG!
Northeast Isometric View
{float} |
tankorigin - a 3 by 1 matrix with x,y,z positions corresponding to the point where the tank will be drawn
tankdim - a 3 by 1 matrix with x,y,z positions corresponding to the length, width and height dimensions of the tank
thick - the thickness of the wall of the tank
p1=
p2=
p3=
win1=
win2=
Note: zc corresponds to a zoom constant used within Autocad. It is defined in the basics file.
Note: All coordinates are referenced in top view in the program unless otherwise specified
{float:left|border=2px solid black}
!tank2.JPG!
{float} |
zoomwin- zooms on a window space directly around where the tank is to be drawn
zoomwin <-- zoomwina(win1,win2)
win1=
win2=
{float:left|border=2px solid black}
!tank5.JPG!
Top View
!tank3.JPG!
Southwest Isometric View
{float} |
box1 <-- boxA(tankorigin,p1)
tankorigin : tankorigin
p1=
{float:left|border=2px solid black}
!tank4.JPG!
Front View
!tank6.JPG!
Top View
!tank7.JPG!
Soutwest Isometric View
{float} |
box2 - Draws the larger of the two boxes to create the tank
box2 <-- boxA(p2,p3)
p2=
p3=
subtract - In order to create the hollow box, the inner box must be subtracted from the outer box. The subtract function selects tankorigin, on the edge of the inner box, to select the inner box as the piece to be subtracted. The subtract function then selects p2, on the edge of the outer box, to select the outer box to subtract from.
subtract <-- subtractD(p2,tankorigin)
p2=
tankorigin : tankorigin
{float:left|border=2px solid black}
!tank1.JPG!
Northeast Isometric
{float} |