Versions Compared

Key

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

...

Inputs Needed to Call the Pipe Function
Origin - a 3*1 matrix with x,y,z positions corresponding to the point where the pipe will be drawn
Pipeinr - th the inner radius of the pipe
Pipelength - the length of the pipe

...

subtract <-- subtract(p2,p3)

p2 =

  • x : origin0 + outerradius(2* pipeinr)
  • y : origin1
  • z : origin2

p3 =

  • x : origin0 + outerradius(2*pipeinr)
  • y : origin1
  • z : origin2