Wiki Markup |
---|
(Northeast view of sludge pipe{float:left|border=2px solid black} [!sludgepipe with labels needed) h1. Sludge Pipe Drawing Script *layer6* \- [Layer{~}new~|AutoCAD Basics Layer] creates a new blue3 layer "sludgepipe." layer <\- layer{~}new~.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=450px350px!|AutoCAD Chemical Stock Tank Program] Top View {float} * |
sludgepipe1
...
-
...
Calls
...
the
...
...
...
...
to
...
create
...
a
...
sludge
...
pipe.
...
sludgepipe1
...
<
...
-
...
Sludgepipe(waste
...
origin,ND
...
SedSludge,L
...
Sed,D
...
SedSludgeOrifice/2,B
...
SedSludgeOrifices,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 |
---|
{~}PipeSpec~) waste{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ * y: tank{~}origin1~ + W{~}Sed~/2 * z: tank{~}origin2~ + outerdiameter(ND{~}SedSludge~)/2 ND{~}SedSludge~ \- Sludge pipe diameter in sed tank. L{~}Sed~ \- Length of sed tank. D{~}SedSludgeOrifice~ \- Diameter of orifices in sludge pipe. B{~}SedSludgeOrifices~ \- Orifice spacing in sedimentation tank draining pipe. EN{~}PipeSpec~ \- Enumerated type. \\ \\ {float:left|border=2px solid black} [!rotate20.bmp|width=700px800px!|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:
...
- waste
...
- origin0 +
...
- innerD(ND
...
- SedSludge,EN
...
- PipeSpec)/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 |
---|
waste{~}origin2~ waste{~}origin~ = * x: tank{~}origin0~ \- L{~}Sed~ * y: tank{~}origin1~ + W{~}Sed~/2 * z: tank{~}origin2~ + outerdiameter(ND{~}SedSludge~)/2 "y" - specifies axis that object will be rotated about. 90 - rotation angle \\ \\ {float:left|border=2px solid black} [!rotate21.bmp|width=550px800px!|AutoCAD Chemical Stock Tank Program] Top View {float} |
Wiki Markup |
---|
{float:left|border=2px solid black} [!rotate21 rightview.bmp|width=450px350px!|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:
...
- waste
...
- origin1 +
...
- innerD(ND
...
- SedSludge,EN
...
- PipeSpec)/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")