h3. General Program Information


h3. Technical Program Outline

*layer1* \-

layer1 <\- layer{~}new~("floctank",dkgrey)
{float:left|border=2px solid black}
[!tank1.bmp|width=450px!|AutoCAD Channel Program]
Northeast Isometric View
{float}
*tank1*

tank1 <\- Tank(floc{~}origin~,totalfloc{~}dim~,tank{~}thick~)

*floc{*}{*}{~}origin{~}* =
* x: tank{~}origin0~
* y: tank{~}origin1~ + num{~}tanks~(tank{~}dim1~ + tank{~}thick~)
* z: tank{~}origin2~

*totalfloc{*}{*}{~}dim{~}* =
* x: floc{~}dim0~
* y: (numfloc{~}tanks~\*floc{~}dim1~) + ((numfloc{~}tanks~ \- 1)*tank{~}thick~)
* z: floc{~}dim2~

tank{~}thick~ - specifies the thickness of the tank.
\\
\\
{float:left|border=2px solid black}
[!box1 with points.bmp|width=450px!|AutoCAD Channel Program]
Northeast Isometric View
{float}
*box1* \-

box1 <\- box(wall{~}origin~,wall{~}origin~ + wall{~}dim~)

*wall{*}{*}{~}origin{~}* =
* x: tank{~}origin0~ \- floc{~}dim0~ \- tank{~}thick~
* y: tank{~}origin1~ + num{~}tanks~(tank{~}dim1~ + tank{~}thick~) + floc{~}dim1~)
* z: tank{~}origin2~

*wall{*}{*}{~}dim{~}* =
* x: totalfloc{~}dim0~ + (2tank{~}thick~)
* y: tank{~}thick~
* z: totalfloc{~}dim2~
\\
\\
{float:left|border=2px solid black}
[!box2 with points.bmp|width=450px!|AutoCAD Channel Program]
Northeast Isometric View
{float}
*box2* \-

box2 <\- box(hole{~}origin~,hole{~}origin~ + flochole{~}dim~)

*hole{*}{*}{~}origin{~}* =
* x: tank{~}origin0~ \- flochole{~}dim0~
* y: tank{~}origin1~ + num{~}tanks~(tank{~}dim1~ + tank{~}thick~) + floc{~}dim1~
* z: tank{~}origin2~
\\
\\
*subtract0* \-

subtract0 <\- subtractD(p1,hole{~}origin~)

p1 =
* x: hole{~}origin0~ + flochole{~}dim0~ + tank{~}thick~
* y: hole{~}origin1~
* z: hole{~}origin2~

*hole{*}{*}{~}origin{~}* =
* x: tank{~}origin0~ \- flochole{~}dim0~
* y: tank{~}origin1~ + num{~}tanks~(tank{~}dim1~ + tank{~}thick~) + floc{~}dim1~
* z: tank{~}origin2~

*union1* \-

union1 <\- unionC(p1,p2)

p1 =
* x: floc{~}origin0~ \- totalfloc{~}dim0~ \- tank{~}thick~ \- zc
* y: floc{~}origin1~ \- tank{~}thick~ \- zc
* z: floc{~}origin2~

p2 =
* x: floc{~}origin0~ + tank{~}thick~ + zc
* y: floc{~}origin1~ + totalfloc{~}dim1~ + tank{~}thick~ + zc
* z: floc{~}origin2~

*box3* \-

box3 <\- box(p1,p2)

p1 =
* x: floc{~}origin0~ \- totalfloc{~}dim0~
* y: floc{~}origin1~ \- tank{~}thick~
* z: floc{~}origin2~ + totalfloc{~}dim2~ \- channel{~}dim2~

p2 =
* x: floc{~}origin0~ \- totalfloc{~}dim0~ + channel{~}dim1~
* y: floc{~}origin1~
* z: floc{~}origin2~ + totalfloc{~}dim2~

*subtract1* \-

subtract1 <\- subtractD(floc{~}origin~,p1)

*floc{*}{*}{~}origin{~}* =
* x: tank{~}origin0~
* y: tank{~}origin1~ + num{~}tanks~(tank{~}dim1~ + tank{~}thick~)
* z: tank{~}origin2~

p1 =
* x: floc{~}origin0~ \- floc{~}dim0~
* y: floc{~}origin1~ \- tank{~}thick~
* z: floc{~}origin2~ + floc{~}dim2~ \- channel{~}dim2~

*layerset*

layerset <\- layer{~}set~("0")

*layerfreeze* \-

layerfreeze <\- layer{~}freeze~("floctank")