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

...

Tank

...

Slope

...

Drawing

...

Script

...

layerslopes - Layernew creates a new light grey layer, "slopes."

...

layerslopes

...

<

...

-

...

layer

...

new("slopes",ltgrey)

Wiki Markup

{float:left|border=2px solid black}
[!slope.bmp|width=500px!|AutoCAD Channel Program]
Right View
{float}
*

slopes

...

-

...

Calls

...

the

...

Sedimentation

...

Tank

...

Slopes

...

Program

...

to

...

draw

...

the

...

tank

...

slopes

...

based

...

on

...

three

...

inputs.

...

slopes

...

<

...

-

...

sedslope(SedSlopes

...

Origin,p1,ANSedBottom)

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

SedSlopesOrigin =

  • x: PlantOrigin0
  • y: PlantOrigin1
  • z: PlantOrigin2

p1 =

  • x: LSed
  • y: WSed
  • z: HSed

ANSedBottom = Sedimentation tank bottom slope.

tankthaw - Layerthaw unlocks the "tank" layer so that edits can be made.

tankthaw <- layerthaw("tank")

bigunion - UnionallA selects all the objects in the workspace and unions them into a single object

bigunion <- unionallA

Wiki Markup
{~}SedBottom~)

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

SedSlopes{~}Origin~ =
* x: Plant{~}Origin0~
* y: Plant{~}Origin1~
* z: Plant{~}Origin2~

p1 =
* x: L{~}Sed~
* y: W{~}Sed~
* z: H{~}Sed~

AN{~}SedBottom~ = Sedimentation tank bottom slope.
\\
\\
*tankthaw* \- [Layer{~}thaw~|AutoCAD Basics Layer] unlocks the "tank" layer so that edits can be made.

tankthaw <\- layer{~}thaw~("tank")

*bigunion* \- [Union{~}allA~|AutoCAD Basics Unions] selects all the objects in the workspace and unions them into a single object

bigunion <\- union{~}allA~

{float:left|border=2px solid black}
[!slope subtract.bmp|width=500px!|AutoCAD Channel Program]
Right View
{float}
*

box1

...

-

...

Creates

...

a

...

box

...

based

...

on

...

two

...

points.

...

box1

...

<

...

-

...

box(sedtankbox1

...

origin,

...

sedtankbox1

...

origin +

...

sedtankbox1

...

dim)

sedtankbox1origin =

  • x: PlantOrigin0 - LSed
  • y: PlantOrigin1 + WSed/2 - outerradius(NDSedSludge)
  • z: PlantOrigin2

sedtankbox1dim =

  • x: LSed
  • y: outerdiameter(NDSedSludge)
  • z: 3outerdiameter(NDSedSludge)

    tankthaw - Layerthaw unlocks the layer "tank" so that it can be edited.

tankthaw <- layerthaw("tank")

Wiki Markup
{float:left|border=2px solid black}
[!subtract box.bmp|width=600px!|AutoCAD Channel Program]
Top View
{float}



subtractbox - SubtractJ subtracts one object from the other based on four points.

subtractbox <- subtractJ(PlantOrigin,p1,p2,sedtankbox1origin)

Note: p1 and p2 are dummy variable used only in the program help section to designate the matrix below.

PlantOrigin =

p1 =

  • x: PlantOrigin0
  • y: PlantOrigin1 + WSed
  • z: PlantOrigin2

p2 =

  • x: PlantOrigin0
  • y: PlantOrigin1 - TPlantWall
  • z: PlantOrigin2

sedtankbox1origin =

  • x: PlantOrigin0 - LSed
  • y: PlantOrigin1 + WSed/2 - outerradius(NDSedSludge)
  • z: PlantOrigin2

layerset - Layerset selects the layer "0".

layerset <- layerset("0")

layerfreezeslope - Layerfreeze locks the layer "slopes" so that it cannot be edited.

layerfreezeslope <- layerfreeze("slopes")