You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 34 Next »

General Program Information

Technical Program Outline

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

layer1 <- layernew("floctank",dkgrey)

Unknown macro: {float}


Northeast Isometric View

tank1 - Calls the Tank Program to create a tank.

tank1 <- Tank(flocorigin,totalflocdim,tankthick)

flocorigin =

  • x: tankorigin0
  • y: tankorigin1 + numtanks(tankdim1 + tankthick)
  • z: tankorigin2

totalflocdim =

  • x: flocdim0
  • y: (numfloctanks*flocdim1) + ((numfloctanks - 1)*tankthick)
  • z: flocdim2

tankthick - specifies the thickness of the tank.

Unknown macro: {float}


Northeast Isometric View

box1 - Creates a box based on two points.

box1 <- box(wallorigin,wallorigin + walldim)

wallorigin =

  • x: tankorigin0 - flocdim0 - tankthick
  • y: tankorigin1 + numtanks(tankdim1 + tankthick) + flocdim1)
  • z: tankorigin2

walldim =

  • x: totalflocdim0 + (2tankthick)
  • y: tankthick
  • z: totalflocdim2

    Unknown macro: {float}


    Northeast Isometric View

    box2 - Creates a box based on two points.

box2 <- box(holeorigin,holeorigin + flocholedim)

holeorigin =

  • x: tankorigin0 - flocholedim0
  • y: tankorigin1 + numtanks(tankdim1 + tankthick) + flocdim1
  • z: tankorigin2

flocholedim =

  • x: tankdim0
  • y: tankdim1/numfloctanks
  • z: tankdim2

    Unknown macro: {float}


    Top View

    subtract0 - SubtractD subtracts one object from the other based on two points.

subtract0 <- subtractD(p1,holeorigin)

p1 =

  • x: holeorigin0 + flocholedim0 + tankthick
  • y: holeorigin1
  • z: holeorigin2

holeorigin =

  • x: tankorigin0 - flocholedim0
  • y: tankorigin1 + numtanks(tankdim1 + tankthick) + flocdim1
  • z: tankorigin2

    union1 - UnionC selects objects based on two points and unites them into a single object.

union1 <- unionC(p1,p2)

p1 =

  • x: flocorigin0 - totalflocdim0 - tankthick - zc
  • y: flocorigin1 - tankthick - zc
  • z: flocorigin2

p2 =

  • x: flocorigin0 + tankthick + zc
  • y: flocorigin1 + totalflocdim1 + tankthick + zc
  • z: flocorigin2
    Unknown macro: {float}


    Northeast Isometric View

    box3 - Creates a box based on two points.

box3 <- box(p1,p2)

p1 =

  • x: flocorigin0 - totalflocdim0
  • y: flocorigin1 - tankthick
  • z: flocorigin2 + totalflocdim2 - channeldim2

p2 =

  • x: flocorigin0 - totalflocdim0 + channeldim1
  • y: flocorigin1
  • z: flocorigin2 + totalflocdim2

    Unknown macro: {float}


    Top View

    subtract1 - SubtractD subtracts one object from the other based on two points.

subtract1 <- subtractD(flocorigin,p1)

flocorigin =

  • x: tankorigin0
  • y: tankorigin1 + numtanks(tankdim1 + tankthick)
  • z: tankorigin2

p1 =

  • x: flocorigin0 - flocdim0
  • y: flocorigin1 - tankthick
  • z: flocorigin2 + flocdim2 - channeldim2

    layerset - Layerset selects the layer "0".

layerset <- layerset("0")

layerfreeze - Layerfreeze locks the layer "channel" so that it cannot be edited.

layerfreeze <- layerfreeze("floctank")

  • No labels