{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)
{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{~}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")