Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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

layer1 - Creates a 'lvlpipe' layer for all of the pipes (except the "main" pipe) in the program

Pipe1 - Creates a pipe with an origin at the variable "origin". See Pipe Help for details on the pipe program.function.

Pipe1 Length = Δx + thick tank + offset - ElbowRadius
Notes:
*Pipe1 Length is not a variable, the value is inputed directly into the pipe function
*offset is a function which divides the x dimension of the level tank by the number of sedimentation tanks, so as to evenly space the inlet pipes to the tank.
*ElbowRadius is the radius of curvature of an elbow. In the script it is given as a function of the inner radius. This function is defined in the Pipe Database program

Rotate1 - Pipe 1 is rotated so that from a top view it is oriented in the west to east direction

Pipe2

- pipe2 origin =

  • x: x,origin - Pipe1 Length
  • y: y,origin + ElbowRadius
  • z: z,origin
    Note: ElbowRadius is the radius of curvature of an elbow. In the script it is given as a function of the inner radius. This function is defined in the Pipe Database program Pipe2 Length = Δy - 2ElbowRadius + thick tank + disp

Rotate2 - Pipe 2 is rotated so it is oriented north to south in top view