Versions Compared

Key

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


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.

*disp* \- displacement between the edge of the barrel and the edge of the platform

*thick* \- specifies the thickness of the platform.

*walkway* \-

*R* \- Barrel radius

*H* \- 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 <\- 
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 <\- 
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