Sludge Pipe Drawing Script

layer6 - Layernew creates a new blue3 layer "sludgepipe."

layer <- layernew("sludgepipe",blue3)

sludgepipe1 - Calls the Sludge Pipe Program to create a sludge pipe.

sludgepipe1 <- Sludgepipe(wasteorigin,NDSedSludge,LSed,DSedSludgeOrifice/2,BSedSludgeOrifices,ENPipeSpec)

wasteorigin =

NDSedSludge - Sludge pipe diameter in sed tank.

LSed - Length of sed tank.

DSedSludgeOrifice - Diameter of orifices in sludge pipe.

BSedSludgeOrifices - Orifice spacing in sedimentation tank draining pipe.

ENPipeSpec - Enumerated type.

rotate20 - Rotate3d turns the object based on a given axis and degree angle.

rotate20 <- rotate3d(p1,wasteorigin,"y",90)

Note: p1 is a dummy variable used only in the program help section to designate the matrix below.

p1 =

wasteorigin =

"y" - specifies axis that object will be rotated about.

90 - rotation angle

rotate21 - Rotate3d turns the object based on a given axis and degree angle.

rotate21 <- rotate3d(p1,wasteorigin,"x",90)

Note: p1 is a dummy variable used only in the program help section to designate the matrix below.

p1 =

wasteorigin =

"x" - specifies axis that object will be rotated about.

90 - rotation angle

layerset - Layerset selects the layer "0".

layerset <- layerset("0")

layerfreeze6 - Layerfreeze locks the layer "sludgepipe" so that it cannot be edited.

layerfreeze6 <- layerfreeze("sludgepipe")