Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{float:left|border=2px solid black}
[!lamina.bmp|width=450px!|AutoCAD Channel Program]
SouthWest Isometric View
{float}
\\
h1. Lamina Drawing Script

...



*layer7* \- [Layer{~}new~|AutoCAD Basics Layer] creates a new purple layer "lamina."

...



layer7 <\- layer

...

{~}new~("lamina",purple)

...

lamina1 - Calls the Lamina Program to create lamella.

...


{float:left|border=2px solid black}
[!lamina1.bmp|width=450px!|AutoCAD Channel Program]
Top View
{float}
{float:left|border=2px solid black}
[!lamina1 front.bmp|width=450px!|AutoCAD Channel Program]
Front View
{float}
*lamina1* \- Calls the [Lamina Program|AutoCAD Lamina Program] to create lamella.

lamina1 <-lamina(lamina

...

{~}origin~,Amp

...

{~}SedPlate~,W

...

{~}Sed~,L

...

{~}SedPlate~,T

...

{~}SedPlate~,Per

...

{~}SedPlate~,AN

...

{~}SedPlate~,N

...

{~}SedPlates~,N

...

{~}SedPlateCol~,-B

...

{~}SedPlateHorizontal~,Y

...

laminaorigin =

  • if layout1:
    • x: tankorigin0
    • y: tankorigin1
    • z: tankorigin2 + HSedBelow
  • if layout2:
    • x: tankorigin0 - WEChannel
    • y: tankorigin1
    • z: tankorigin2 + HSedBelow
  • if layout3:
    • x: tankorigin0
    • y: tankorigin1
    • z: tankorigin2 + HSedBelow
  • if layout4:
    • x: tankorigin0
    • y: tankorigin1
    • z: tankorigin2 + HSedBelow

AmpSedPlate - Degree lamella is installed relative to the horizontal (so flocs slide down lamella.)

WSed - Width of sedimentation tank.

LSedPlate - Length of plate settlers in the sedimentation tank.

TSedPlate - Thickness of plate settlers.

PerSedPlate - Period of the curves for the plate settlers.

ANSedPlate - Degree lamella is installed relative to the horizontal (so flocs slide down lamella.)

NSedPlates - Number of plate settlers in sed tank.

NSedPlateCol - Number of columns of sedimentation tank lamina when arrayed (always set to 1 since lamina are drawn one tank at a time.)

BSedPlateHorizontal - Horizontal spacing between sedimentation plates.

YSedPlate - Vertical height of the sedimentation plates.

layerset - Layerset selects the layer "0".

layerset <- layerset("0")

layerfreeze - Layerfreeze locks the layer "lamina" so that it cannot be edited.

...

{~}SedPlate~)

lamina{~}origin~ =
* if layout1:
** x: tank{~}origin0~
** y: tank{~}origin1~
** z: tank{~}origin2~ + H{~}SedBelow~

* if layout2:
** x: tank{~}origin0~ \- W{~}EChannel~
** y: tank{~}origin1~
** z: tank{~}origin2~ + H{~}SedBelow~

* if layout3:
** x: tank{~}origin0~
** y: tank{~}origin1~
** z: tank{~}origin2~ + H{~}SedBelow~

* if layout4:
** x: tank{~}origin0~
** y: tank{~}origin1~
** z: tank{~}origin2~ + H{~}SedBelow~

Amp{~}SedPlate~ \- Degree lamella is installed relative to the horizontal (so flocs slide down lamella.)

W{~}Sed~ \- Width of sedimentation tank.

L{~}SedPlate~ \- Length of plate settlers in the sedimentation tank.

T{~}SedPlate~ \- Thickness of plate settlers.

Per{~}SedPlate~ \- Period of the curves for the plate settlers.

AN{~}SedPlate~ \- Degree lamella is installed relative to the horizontal (so flocs slide down lamella.)

N{~}SedPlates~ \- Number of plate settlers in sed tank.

N{~}SedPlateCol~ \- Number of columns of sedimentation tank lamina when arrayed (always set to 1 since lamina are drawn one tank at a time.)

B{~}SedPlateHorizontal~ \- Horizontal spacing between sedimentation plates.

Y{~}SedPlate~ \- Vertical height of the sedimentation plates.
\\
\\
*layerset* \- [Layer{~}set~|AutoCAD Basics Layer] selects the layer "0".

layerset <\- layer{~}set~("0")

*layerfreeze* \- [Layer{~}freeze~|AutoCAD Basics Layer] locks the layer "lamina" so that it cannot be edited.

layerfreeze <\- layer{~}freeze~("lamina")