Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

o - the origin, a 3*1 matrix with x,y,z positions corresponding to the point where the elbow will be drawn
Pipeinr - the inner radius of the elbow

Inputs Defined within the

...

Elbow Function

p1 =

  • x : o0
  • y : o1
  • z : o2

p2 =

...

Note: zc corresponds to the zoom constant within AutoCAD and can be found in the basics file that is referenced by the tank elbow program.

Technical Program Outline

Note: All coordinates are referenced in top view in the program unless otherwise specified

Image Added

zoomwin- zooms on a window space directly around where the elbow is to be drawn

zoomwin <-- zoomwina(win1,win2)

win1 =

  • x : o0 - ElbowRadius(2*pipeinr) - ConRaduis(2*pipeinr) + zc
  • y : o1 - ElbowRadius(2*pipeinr) - ConRaduis(2*pipeinr) + zc
  • z : o2

win2 =

  • x : o0 + ElbowRadius(2*pipeinr) + ConRaduis(2*pipeinr) + zc
  • y : o1 + ElbowRadius(2*pipeinr) + ConRaduis(2*pipeinr) + zc
  • z : o2