General Program Information
Unable to render embedded object: File (Floc Wall with Ports.PNG) not found.
Floc Wall with Ports
Technical Program Outline
local - Layernew creates a new light purple layer, "baffle"
local <- layernew("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 of each baffle
baffleorigin i =
- x: PlantOrigin0 - LSed + XFlocBaffles i,j
- y: YFlocBaffles 0,j
- z: PlantOrigin2 + ZFlocBaffles i,j
bafflelength i = LFlocBaffles i,j (Defined in Flocculator 3)
layerset2 <- layerset ("0")
layerthaw2 - unlocks the "flocktank" layer for editing
layerthaw2 <- layerthaw ("flocktank")
bigunion1 - combines the tank and walls into a single piece
bigunion1 <- unionallA
layerfreeze2 - freezes "flocktankwall" for editing
layerfreeze2 <- layerfreeze ("flocktankwall")
layerfreeze3 - freezes "flocktank" for editing
layerfreeze3 <- layerfreeze ("flocktank")
local <- stack(local, layerset2, bigunion1, layerset2, layerfreeze2, layerfreeze3)