Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

Technical Program Outline

local - Layernew creates a new dark grey layer, "floctank."

local <- layernew("floctank",dkgrey)

...

local - is redefined as the "floctank"

...

layer

...

and

...

the

...

tank

...

that

...

houses

...

the

...

inner

...

walls

...

of

...

the

...

baffles

...

and

...

the

...

floc

...

tank,

...

both

...

stacked.

...

local

...

<

...

-

...

stack(local,

...

Tank(floc

...

origin,

...

totalfloc

...

dim,

...

T

...

PlantWall))

...

for

...

loop

...

-

...

the

...

for

...

loop

...

draws

...

the

...

inner

...

walls

...

and

...

then

...

subtracts

...

the

...

ports

...

between

...

channels

...

for

...

each

...

wall.

...

Local

...

is

...

then

...

stacked

...

with

...

the

...

inner

...

walls

...

and

...

subtractions

...

iteratively.

...

for

...

i

...

from

...

0..N

...

FlocChannels - 2
local<-stack(local,

...

box(wall

...

origin

...

0,

...

i,

...

wall

...

origin

...

0,

...

i +

...

wall

...

dim),

...

box(flocport

...

origin

...

0,

...

i,

...

flocport

...

origin

...

0,

...

i +

...

flocport

...

dim

...

0,

...

i),

...

subtract(wall

...

origin,

...

flocport

...

origin))

...

bigunion1

...

unions

...

all

...

objects

...

drawn

...

thus

...

far

...

into

...

a

...

single

...

object.

...

bigunion1

...

<

...

-

...

unionallA

layerset1 - selects the layer "0"

...

layerset1

...

<

...

-

...

layer

...

set ("0")

...

layerfreeze1 - Layerfreeze locks the layer "floctank"

...

so

...

that

...

it

...

cannot

...

be

...

edited.

...


layerfreeze1

...

<

...

-

...

layer

...

freeze("floctank")

...

one

...

<

...

-

...

stack(layer1,

...

tank1,

...

layerset1,

...

layerfreeze1)

...

flocorigin =

  • x: PlantOrigin0
  • y: Plant~origin1~ + NSedTanks(WSed + TPlantWall)
  • z: PlantOrigin2

totalflocdim =

  • x: LFlocTank/NFlocChannels
  • y: (NFlocChannels*WFlocChannels) + ((NFloc Channels - 1)*TPlantWall)
  • z: HFloc

TPlantWall - specifies the thickness of the tank.