...
p2: pipe2origin
p3: pipe11
Rotate8 - Pipe 2 is rotated using the Rotate3d function so it is oriented north to south in top view
p1:
- x: pipe2origin0
- y: pipe2origin1 + (Δy - 2ElbowRadius(2R1) + thicktank + disp)
- z: pipe2origin2
p2:
- x: pipe2origin0
- y: pipe2origin1 + (Δy - 2ElbowRadius(2R1) + thicktank + disp)
- z: pipe2origin2
axis: "x"
ϕ: \180
Rotate9 - Pipe 2 is rotated using the Rotate3d function so that from a top view it is oriented in the west to east direction.
p1:
- x: pipe2origin0
- y: pipe2origin1 + (Δy - 2ElbowRadius(2R1) + thicktank + disp
- z: pipe2origin2
p2:
- x: pipe2origin0
- y: pipe2origin1 + (Δy - 2ElbowRadius(2R1) + thicktank + disp
- z: pipe2origin2
axis: "y"
ϕ: -90
Copy4 CopyCcreates a copy of the selected objects based on four chosen points.
p1:
- x: pipe2origin0
- y: pipe2origin1 + (Δy - 2ElbowRadius(2R1) + thicktank + disp
- z: pipe2origin2
p2:
- x: pipe2origin0
- y: pipe2origin1 + (Δy - 2ElbowRadius(2R1) + thicktank + disp
- z: pipe2origin2
p3:
- x: -offset(lvltankdim0,n)
- y: 0
- z: 0
p4:
- x: -2offset(lvltankdim0,n)
- y: 0
- z: 0
layer5 - Layerset select the layer "0"
layer6 - Layerfreeze freezes the layer "lvlelbow."
layer7 - Layernew creates a new grey layer "lvltank."
Tank - Calls the Tank Program program to build a tank with the origin tankorigin, tank dimensions tankdim and thickness thicktank.
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
- x: tank.dim0 = length
- y: tank.dim1 = width
- z: tank.dim2 = height
thick - the thickness of the wall of the tank
layer8 - Layerthaw unfreezes the layer "lvlpipe."
layer9 - Layerthaw unfreezes the layer "lvlelbow."
layer10 - Layerset select the layer "lvlpipe."
cylinder - CylinderCcreates a cylinder based on a point, radius and length.
p1: mainorigin
R1: Rmain
L: Hmain + thickplatform + Δz
subtract -SubtractD subtracts based on two points.
p1: tankorigin
p2:
- x: mainorigin0 + Rmain
- y: mainorigin1
- z: mainorigin2
one
two
three
return