Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
h1. General Program Information

{float:left|border=2px solid black}
[!stock tank.bmp|width=660px!|AutoCAD Chemical Stock Tank Barrels Program]
Northwest view
{float}
\\
\\

h3. Input Definitions


h5. Inputs Needed to Call the Chemical Stock Tank Barrels Function

* origin - a 3*1 matrix with user defined x,y,z positions corresponding to origin. The origin is located at the top right corner of the platform.

* disp - displacement between the edge of the drum containing the chemical stock solution (sometimes also refered to as the chemical stock barrel) and the edge of the platform.

* thick - specifies the thickness of the platform.

* walkway - the width of a walkway space on the platform, so that the plant operater can walk on the platform next to the chemical stock drums/barrels

* R - chemical stock drum radius/ chemical stock barrel
radius

* H* \- chemical stock drum radius/ chemical stock barrel height

h5. Inputs Defined within the Chemical Stock Tank Barrels Function

platform{~}origin~ =
* x : origin{~}0~

* y : origin{~}1~

* z : origin{~}2~

platform{~}dim~ =
* x : (2(2*R) + (3*disp)

* y : (2R) + walkway + disp

* z : thick

H{~}barrel~ = H

barrel1{~}origin~ =
* x : platform{~}origin0~ \- ((3*R) + (2*disp))

* y : platform{~}origin1~ \- (R + disp)

* z : platform{~}origin2~ + platform{~}dim2~

barrel2{~}origin~ =
* x: platform{~}origin0~ \- (R + disp)

* y : platform{~}origin1~ \- (R + disp)

* z : platform{~}origin2~ + platform{~}dim2~

h1. Technical Program Outline

cylinder1 - Creates a cylinder with  the [CylinderC|AutoCad Basics Cylinders] function.
{float:left|border=2px solid black}
[!stock tank outline barrel 1.bmp|width=330px!|AutoCAD Chemical Stock Tank Barrels Program]
Topview
{float}
\\
\\
cylinder1<-cylinderC(barrel1{~}origin~,R,H{~}barrel~)

barrel1{~}origin~ =
* x : platform{~}origin0~ \- ((3*R) + (2*disp))

* y : platform{~}origin1~ \- (R + disp)

* z : platform{~}origin2~ + platform{~}dim2~

H{~}barrel~ = H

cylinder2 - Creates a cylinder with the [CylinderC|AutoCad Basics Cylinders] function.
{float:left|border=2px solid black}
[!stock tank outline barrel 2.bmp|width=330px!|AutoCAD Chemical Stock Tank Barrels Program]
Topview
{float}
\\
\\
cylinder2<-cylinderC(barrel2{~}origin~,R,H{~}barrel~)

barrel2{~}origin~ =
* x: platform{~}origin0~ \- (R + disp)

* y : platform{~}origin1~ \- (R + disp)

* z : platform{~}origin2~ + platform{~}dim2~

H{~}barrel~ = H