Wiki Markup |
---|
h3. General Program Information \\ {float:left|border=2px solid black} [!Segment of floc tank.PNG|width=300px!|AutoCAD Channel Program] Segment of Floc Tank {float}\\ \\ \\ h3. Technical Program Outline *local* \- [Layer{~}new~|AutoCAD Basics Layer] creates a new light purple 1) A new layer, "baffle," local <\- layer{~}new~("baffle", ltpurple) *for loop* \- this loop counts the number of baffles per channel x(j) - returns the number of channels in column j *for loop* \- this loop determines the origin point of each baffle in column j and the length is created to draw all of the baffles in. 2) The origin and dimension points of each baffle *baffle{*}{*}{~}origin i{~}* = * x: Plant{~}Origin0~ \- L{~}Sed~ + X{~}FlocBaffles i,j~ * y: \-L{~}slot~ \- Y{~}FlocBaffles 0,j~ * z: Plant{~}Origin2~ + Z{~}FlocBaffles i,j~ *baffle{*}{*}{~}length i{~}* = L{~}FlocBaffles i,j~ (Defined in Flocculator 3) *if/otherwise statement* \- this statement determines the type of lamina that will be used to draw the baffles local <\- stack(local(lamina(baffle{~}origin i~, Amp{~}FlocBaffle~, W{~}FlocChannel~ + 2*L{~}slot~, baffle{~}length i~, T{~}FlocBaffle~, Per{~}FlocBaffle~,AN{~}FlocBaffle~, N{~}Baffle~, N{~}FlocBaffleCol~, X{~}FlocBaffle~, Y{~}FlocBaffle~)) if Baffle{~}complex~ *=* 1 local <\- stack(local(laminaplain1(baffle{~}origin i~, W{~}FlocChannel~ + 2*L{~}slot~, baffle{~}length i~, T{~}FlocBaffle~, AN{~}FlocBaffle~, N{~}Baffle~, N{~}FlocBaffleCol~, X{~}FlocBaffle~)) if Baffle{~}complex~ *=* 1 otherwise is calculated. 3) Each baffle is created a box from the origin point to the dimension point. 4) All of the baffles are unioned as one object to allow the ports to be subtracted later in a single command. 5) The layer is set to "0" so that the "baffle" layer can be frozen. 6) The "baffle" layer is frozen. |
Page History
Overview
Content Tools