Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

layer4 <- layernew("elbow",green)

Wiki Markup
{float:left|border=2px solid black}
[!elbow1.bmp|width=280px!|AutoCAD Channel Program]
Top View
{float}

elbow1 - Calls the Elbow Program to create an elbow.

...

ENPipeSpec = The enumerated pipe schedule type. Each schedule of pipe is represented by a specific number within our code.

Wiki Markup
{float:left|border=2px solid black}
[!rotate6.bmp|width=280px!|AutoCAD Channel Program]
Top View
{float}

rotate6 - Rotate3d turns the object based on rotate6 - Rotate3d turns the object based on a given axis and degree angle.

...

"x" - specifies axis that object will be rotated about.

-90 - rotation angle

Wiki Markup
{float:left|border=2px solid black}
[!rotate7.bmp|width=280px!|AutoCAD Channel Program]
Top View
{float}

rotate7 - Rotate3d turns the object based on rotate7 - Rotate3d turns the object based on a given axis and degree angle.

...

"y" - specifies axis that object will be rotated about.

90 - rotation angle.

copy1 - CopyDa duplicates the selected object.


Wiki Markup
{float:left|border=2px solid black}
[!copy1.bmp|width=280px!|AutoCAD Channel Program]
Top View
{float}

copy1 - CopyDa duplicates the selected object.

copy1 <- copy1 <- copyDa(p1,sedtankpipe5origin,sedtankpipe6origin,sedtankpipe7origin,sedtankpipe8origin)

...

  • x: PlantOrigin0 - LSed + ElbowRadius(NDSedPipeEntrance)
  • y: PlantOrigin1 + WSed/2 + outerradius(NDSedLaunder) + 3(WSed/2 - outerradius(ND{~}SedLaunder))/4
  • z: PlantOrigin2 + (WSed/2)*tank(ANSedBottom) + ElbowRadius(NDSedPipeEntrance)

...


  • Wiki Markup
    {float:left|border=2px solid black}
    [!rotate8.bmp|width=280px!|AutoCAD Channel Program]
    Top View
    {float}
    rotate8 - Rotate3d turns the object based on a given axis and degree angle.

rotate8 <- rotate3d(p1,sedtankpipe1origin,"z",sedtankpipe5angle)

...

"z" - specifies axis that object will be rotated about.sedtank5

sedtankpipe5angle = -(rad/deg) * atan((((5*LSed)/8 - WChannel/2)/ [3 * (WSed/2 - outerradius(NDSedLaunder))/4) + outerradius(NDSedLaunder))-1)

Wiki Markup
{float:left|border=2px solid black}
[!rotate9.bmp|width=280px!|AutoCAD Channel Program]
Top View
{float}

rotate9 - Rotate3d turns the object based on a given axis and degree angle.

rotate9 <- rotate3d(p1,sedtankpipe2origin,"z".sedtankpipe6angle)

Note: p1 is a dummy variable used only in the program help section to designate the matrix below.

p1 =

  • x: sedtankpipe6origin0
  • y: sedtankpipe6origin1
  • z: sedtankpipe6origin2 - outerradius(NDSedPipeEntrance)

sedtankpipe2origin =

  • x: PlantOrigin0 - LSed + ElbowRadius(NDSedPipeEntrance)
  • y: PlantOrigin1 + WSed/2 + outerradius(NDSedLaunder) + 1(WSed/2 - outerradius(ND{~}SedLaunder))/4
  • z: PlantOrigin2 + (WSed/2)*tank(ANSedBottom) + ElbowRadius(NDSedPipeEntrance)

"z" - specifies axis that object will be rotated about.

sedtankpipe6angle = -(rad/deg) * (((LSed/8 - WChannel/2)/ ((WSed/2 - outerradius(NDSedLaunder))/4) + outerradius(NDSedLaunder))-1)

Wiki Markup
{float:left|border=2px solid black}
[!rotate10.bmp|width=280px!|AutoCAD Channel Program]
Top View
{float}

rotate10 - specifies rotation angle.rotate9 - Rotate3d turns the object based on a given axis and degree angle.

rotate9 rotate10 <- rotate3d(p1,sedtankpipe2sedtankpipe3origin,"z".sedtankpipe6sedtankpipe7angle)

Note: p1 is a dummy variable used only in the program help section to designate the matrix below.

p1 =

  • x: sedtankpipe6origin0
  • y: sedtankpipe6origin1
  • z: sedtankpipe6origin2 - outerradius(NDSedPipeEntrance)

sedtankpipe2origin =

  • x: PlantOrigin0 - LSed + ElbowRadius(NDSedPipeEntrance)
  • y: PlantOrigin1 + WSed/2 + outerradius(NDSedLaunder) + 1(WSed/2 - outerradius(ND{~}SedLaunder))/4
  • z: PlantOrigin2 + (WSed/2)*tank(ANSedBottom) + ElbowRadius(NDSedPipeEntrance)

"z" - specifies axis that object will be rotated about.

sedtank6angle - specifies rotation angle.

rotate10 - Rotate3d turns the object based on a given axis and degree angle.

rotate10 <- rotate3d(p1,sedtankpipe3origin,"z".sedtankpipe7angle)

Note: p1 is a dummy variable used only in the program help section to designate the matrix below.

p1 =

  • x: sedtankpipe7origin0
  • y: sedtankpipe7origin1
  • z: sedtankpipe7origin2 - outerradius(NDSedPipeEntrance)

sedtankpipe3origin =

...

help section to designate the matrix below.

p1 =

  • x: sedtankpipe7origin0
  • y: sedtankpipe7origin1
  • z: sedtankpipe7origin2 - outerradius(NDSedPipeEntrance)

sedtankpipe3origin =

  • x: PlantOrigin0 - LSed + ElbowRadius(NDSedPipeEntrance)
  • y: PlantOrigin1 + WSed/2 + outerradius(NDSedLaunder) + 1(WSed/2 - outerradius(ND{~}SedLaunder))/4
  • z: PlantOrigin2 + (WSed/2)*tank(ANSedBottom) + ElbowRadius(NDSedPipeEntrance)

"z" - specifies axis that object will be rotated about.

sedtankpipe7angle = -(rad/deg) * atan(((3*LSed/8 - WChannel/2)/ ((WSed/2 - outerradius(ND

...

SedLaunder))

...

/4) + outerradius(NDSedLaunder))-1)

Wiki Markup
{float:left|border=2px solid black}
[!rotate11.bmp|width=280px!|AutoCAD Channel Program]
Top View
{float}

...

"z" - specifies axis that object will be rotated about.

...

rotate11 - Rotate3d turns the object based on a given axis and degree angle.

...

"z" - specifies axis that object will be rotated about.sedtank8angle - specifies rotation angle.about.

sedtankpipe8angle = -(rad/deg) * atan((((7*LSed)/8 - WChannel/2)/ (3*(WSed/2 - outerradius(NDSedLaunder))/4) + outerradius(NDSedLaunder))-1)

layerset - Layerset selects the layer "0".

...

layer5 - Layernew creates a new green layer "elbowa."

layer5 <- layernew("elbowa",green)new("elbowa",green)

Wiki Markup
{float:left|border=2px solid black}
[!elbow5.bmp|width=280px!|AutoCAD Channel Program]
Top View
{float}

elbow5 - Calls the Elbow Program to create an elbow.

...

ENPipeSpec = The enumerated pipe schedule type. Each schedule of pipe is represented by a specific number within our code.by a specific number within our code.

Wiki Markup
{float:left|border=2px solid black}
[!rotate14.bmp|width=280px!|AutoCAD Channel Program]
Top View
{float}

rotate14 - Rotate3d turns the object based on a given axis and degree angle.

...

"x" - specifies axis that object will be rotated about.90 - specifies rotation angle..

90 - specifies rotation angle.

Wiki Markup
{float:left|border=2px solid black}
[!copy2.bmp|width=280px!|AutoCAD Channel Program]
Top View
{float}

copy2 - CopyDa duplicates the selected objuect.

...

  • x: tankorigin0 - (1*LSed)/8 - ElbowRadius(NDSedPipeEntrance)
  • y: tankorigin1 + WSed/2 - ElbowRadius(NDSedPipeEntrance)
  • z: tankorigin2 + SSedInlet + sedtankpipe9length + ElbowRadius(NDSedPipeEntrance + sedtankpipe9length + ElbowRadius(NDSedPipeEntrance

    Wiki Markup
    {float:left|border=2px solid black}
    [!rotate15.bmp|width=700px!|AutoCAD Channel Program]
    Top View
    {float}
    rotate15 - Rotate3d turns the object based on a given axis and degree angle.

rotate15 <- rotate3d(p1,sedtankpipe9origin,"z".sedtankpipe6angle)

Note: p1 is a dummy variable used only in the program help section to designate the matrix below.

p1 =

  • x: sedtankpipe9origin1 - outerradius(NDSedPipeEntrance)
  • y: sedtankpipe9origin2
  • z: sedtankpipe10origin0

sedtankelbow9origin =

  • x: tankorigin0 - LSed + WChannel + TChannelWall + ElbowRadius(NDSedLaunder~)
  • y: tankorigin1 + WSed/2 - ElbowRadius(NDSedLaunder)
  • z: tankorigin2 + HWSed - HSedAbove/2 - ElbowRadius(NDSedLaunder)

"z" - specifies axis that object will be rotated about.

...

  • : sedtankpipe9origin1 - outerradius(NDSedPipeEntrance)
  • y: sedtankpipe9origin2
  • z: sedtankpipe10origin0

sedtankelbow9origin =

  • x: tankorigin0 - LSed + WChannel + TChannelWall + ElbowRadius(NDSedLaunder~)
  • y: tankorigin1 + WSed/2 - ElbowRadius(NDSedLaunder)
  • z: tankorigin2 + HWSed - HSedAbove/2 - ElbowRadius(NDSedLaunder)

"z" - specifies axis that object will be rotated about.

sedtankpipe6angle = -(rad/deg) * (((LSed/8 - WChannel/2)/ ((WSed/2 - outerradius(NDSedLaunder))/4) + outerradius(NDSedLaunder))-1)

Wiki Markup
{float:left|border=2px solid black}
[!rotate16.bmp|width=700px!|AutoCAD Channel Program]
Top View
{float}

rotate16 - Rotate3d turns the object based on a given axis and degree angle.

...

Note: p1 is a dummy variable used only in the program help section to designate the matrix below.

p1 =

  • x: sedtankpipe10origin1 - outerradius(NDSedPipeEntrance)
  • y: sedtankpipe10origin2
  • z: sedtankpipe11origin0

sedtankelbow10origin =

  • x: tankorigin0 - LSed + WChannel + T{~}ChannelWall
  • y: tankorigin1 + WSed/2 - ElbowRadius(NDSedLaunder)
  • z: tankorigin2 + HSed - HChannel - TMp

"z" - specifies axis that object will be rotated about.

...

to designate the matrix below.

p1 =

  • x: sedtankpipe10origin1 - outerradius(NDSedPipeEntrance)
  • y: sedtankpipe10origin2
  • z: sedtankpipe11origin0

sedtankelbow10origin =

  • x: tankorigin0 - LSed + WChannel + T{~}ChannelWall
  • y: tankorigin1 + WSed/2 - ElbowRadius(NDSedLaunder)
  • z: tankorigin2 + HSed - HChannel - TMp

"z" - specifies axis that object will be rotated about.

sedtankpipe7angle = -(rad/deg) * atan(((3*LSed/8 - WChannel/2)/ ((WSed/2 - outerradius(NDSedLaunder))/4) + outerradius(NDSedLaunder))-1)

Wiki Markup
{float:left|border=2px solid black}
[!rotate17.bmp|width=700px!|AutoCAD Channel Program]
Top View
{float}

rotate17 - Rotate3d turns the object based on a given axis and degree angle.

...

sedtankpipe5{~}angle - specifies rotation angle.

Wiki Markup
{float:left|border=2px solid black}
[!rotate18.bmp|width=700px!|AutoCAD Channel Program]
Top View
{float}

rotate18 - Rotate3d turns the object based on a given axis and degree angle.

...

sedtankpipe8{~}angle - specifies rotation angle.

layerset - Layerset selects the layer "0".

...