Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{float:left|border=2px solid black}
[!sludgepipe with labels.bmp|width=550px!|AutoCAD Chemical Stock Tank Program]
NorthEast Isometric View
{float}



Sludge Pipe Drawing Script

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

layer <- layernew("sludgepipe",blue3)

Wiki Markup
{float:left|border=2px solid black}
[!sludgepipe1.bmp|width=350px!|AutoCAD Chemical Stock Tank Program]
Top View
{float}

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

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

wasteorigin =

  • x: tankorigin0 - LSed
  • y: tankorigin1 + WSed/2
  • z: tankorigin2 + outerdiameter(NDSedSludge)/2

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.

Wiki Markup
{float:left|border=2px solid black}
[!rotate20.bmp|width=800px!|AutoCAD Chemical Stock Tank Program]
Top View
{float}

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 =

  • x: wasteorigin0 + innerD(NDSedSludge,ENPipeSpec)/2
  • y: wasteorigin1
  • z: wasteorigin2

wasteorigin =

  • x: tankorigin0 - LSed
  • y: tankorigin1 + WSed/2
  • z: tankorigin2 + outerdiameter(NDSedSludge)/2

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

90 - rotation angle

Wiki Markup
{float:left|border=2px solid black}
[!rotate21.bmp|width=800px!|AutoCAD Chemical Stock Tank Program]
Top View
{float}
Wiki Markup
{float:left|border=2px solid black}
[!rotate21 rightview.bmp|width=350px!|AutoCAD Chemical Stock Tank Program]
Right View
{float}

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 =

  • x: wasteorigin0
  • y: wasteorigin1 + innerD(NDSedSludge,ENPipeSpec)/2
  • z: wasteorigin2

wasteorigin =

  • x: tankorigin0 - LSed
  • y: tankorigin1 + WSed/2
  • z: tankorigin2 + outerdiameter(NDSedSludge)/2

"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")