General Information
Input Definitions
Inputs Needed to Call the Sludge Pipe Function
- sludgepipeorigin - a 3 by 1 matrix with x,y,z positions corresponding to the point where the manifold will be drawn
- sludepipeinr - the radius of the inner cylinder
- sludgepipeoutr - the radius of the outer cylinder
- radhole - the radius of the orifice hole
- tanklength - the length of the tank
- orificedist - the distance between successive orifices
Pipe Database Functions
- innerD()
- outerradius()
- ENPipeSpec
Inputs Defined Within the Sludge Pipe Function
p1 =
- x : sludgepipe.origin0
- y : sludgepipe.origin1
- z : sludgepipe.origin2
p2 =
- x : sludgepipe.origin0
- y : sludgepipe.origin1
- z : sludgepipe.origin2 + tanklength - orificedist
p3 =
- x : sludgepipe.origin0
- y : sludgepipe.origin1 + sludgepipeoutr + zc
- z : sludgepipe.origin2 + tanklength - orificdist
p4 =
- x : sludgepipe.origin1 + sludgepipeoutr + zc
- y : sludgepipe.origin2 + tanklength - orificedist
- z : sludgepipe.origin0
p5 =
- x : sludgepipe.origin0
- y : sludgepipe.origin1 - sludgepipeoutr
p6 =
- x : sludgepipe.origin0 + radhole + zc
- y : sludgepipe.origin1 + sludgepipeoutr + 2*zc
p7 =
- x : sludgepipe.origin0 - radhole - zc
- y : sludgepipe.origin1 - zc
ND = ND
R1 = sludgepipeoutr
R2 = sludgepipeinr
R3 = radhole
L = tanklength
n1 = floor( tanklength / orificedist )
n2 = 1
d1 = orificedist
win1 =
- x : sludgepipe.origin0 - sludgepipeoutr
- y : sludgepipe.origin1 - sludgepipeoutr
- z : sludgepipe.origin2
win2 =
- x : sludgepipe.origin0 + sludgepipeoutr
- y : sludgepipe.origin1 + sludgepipeoutr + zc
- z : sludgepipe.origin2
EN = EN
Note: zc corresponds to the zoom constant used within AutoCAD and created in the basics file that is referenced by the pipe program.
Technical Program Outline
Note: All coordinates are referenced in top view in the program unless otherwise specified
pipe1 - draws a pipe (from the pipe program) with no zoom
zoomwin - zooms on a window space
cylinder3 - is to draw a cylinder for orifice purpose
viewrightside - change view to viewrightside
array1 - draw starting at point p1, n1 -- as many rows as the tank length/orifice dist, n2 - 1 and provide orifice distance as the next draw point for the cylinder
subtract2 - subtract unneeded portion of the cylinders