General Program Information
This script draws the tank that houses the inner walls and baffles of the floc tank. The script then draws the inner walls and subtracts the ports between the channels. In the case of a vertical flocculator, the ports are drawn at the base of the flocculator. For a horizontal flocculator, the ports heights are set to the height of the floctank.
Technical Program Outline
1) A new layer "floctank" is made using the Layernew function.
2) The Tank program is called by floctanktankscript to draw the outside walls of the flocculation tank.
3) The inner walls, placed to give a uniform channel width, are drawn as iteratively.
4) The ports between channels are both drawn and subtracted from the inner walls iteratively.
5) The "floctank" layer is set to zero.
6) The "floctank layer" is frozen using the Layerfreeze function.