General Program Information
Input Definitions
Inputs needed to call the tank function
tank~.origin~ - a 3 by 1 matrix with x,y,z positions corresponding to the point where the tank will be drawn
tank~.dim~ - a 3 by 1 matrix with x,y,z positions corresponding to the length, width, and height of the tank
thick - the thickness of the wall of the tank
Inputs defined with the tank function
p1=
- x : tank.origin0 - tank.dim0
- y : tank.origin1 + tank.dim1
- z : tank.origin2 + tank.dim2
p2=
- x : tank.origin0 + thick
- y : tank.origin1 - thick
- z : tank.origin2 - thick
p3=
- x : tank.origin0 - tank.dim0 - thick
- y : tank.origin1 + tank.dim1 + thick
- z : tank.origin2 + tank.dim2
win1=
- x : tank.origin0 + thick + zc
- y : tank.origin1 - thick - zc
- z : tank.origin2
win2=
- x : tank.origin0 - tank.dim0 - zc
- y : tank.origin1 + tank.dim1 + zc
- z : tank.origin2 + tank.dim2
Note: zc corresponds to the zoom constant within AutoCAD and can be found in the basics file that is referenced by the tank program
Technical Program Outline
Note: All coordinates are referenced in top view in the program unless otherwise specified