...
- pipe2 origin, pipe3 origin, pipe4 origin, pipe5 origin, pipe6 origin, elbow1 origin, pipe7 origin, tank origin, main origin, origin, lvltank dim, Δx, Δy, Δz, tank thick, thick platform, width sed, R1, R main, H main, n, disp
Pseudo Inputs
pipe3origin
pipe4origin
pipe5origin
pipe6origin
elbow1origin
pipe7origin
tankorigin
mainorigin
origin
lvltankdim
Δx
Δy
Δz
thicktank
thickplatform
widthsed
R1
Rmain
Hmain
n - number of sedimentation tanks to be drawn by the program.
disp
layer1 - Creates a 'lvlpipe' layer for all of the pipes in the program
...
Pipe8 length: Hmain + thickplatform + Δz
layer2 - Layerset select the layer "0"
layer3 - Layerfreeze is used to freeze the layer "lvlpipe."
layer4 - Layernew is used to create a new, green layer "lvlelbow."
Elbow1 - Calls the Elbow Program program to build an elbow with the origin elbow1origin and an inner radius, R1.
Rotate7 - Pipe 7 is rotated using the Rotate3d function so...
p1:
- x: elbow1origin0
- y: elbow1origin1 + ElbowRadius(2R1)
- z: elbow1origin2
p2:
- x: elbow1origin0
- y: elbow1origin1 + ElbowRadius(2R1)
- z: elbow1origin2
axis: "z"
ϕ: -180
zoomwin2
Copy1 - CopyBcreates a copy of the selected objects based on three chosen points.
p1: pipe2origin
p2: pipe2origin
p3: pipe4origin
Copy2 - CopyBcreates a copy of the selected objects based on three chosen points.
p1: pipe2origin
p2: pipe2origin
p3: pipe6origin
Copy3 - CopyBcreates a copy of the selected objects based on three chosen points.
p1: pipe2origin
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