...
pipe2 length = Δz grit - 3ElbowRadius - SocketDepth (See overview frontview picture in general section if not clear)
Notes: 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
SocketDepth is the connection depth for pieces such as elbows and tees which connect with pipes.In the script it is given as a function of the inner radius. This function is defined in the Pipe Database program
AutoCAD Grit Chamber Program
Pipe3
pipe3 origin =
- x:origin 0 - pipe1 length - 2ElbowRadius
- y:origin 1
- z:origin 2 + pipe2 length + 2ElbowRadius
pipe3 length =
((Δx grit + 2grit thick + ShortTeeLength + SocketDepth - ElbowRadius - pipe1 length)2 + (Δy grit + grit thick + (grit dim1/2))2)0.5 - 2ElbowRadius