General Program Information

Input Definitions

Inputs Needed to Call the Elbow Function

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 =

p2 =

p3 =

p4 =

p5 =

p6 =

p7 =

p9 =

p10 =

p11 =

p12 =

p13 =

p14 =

p15 =

p16 =

p17 =

p18 =

R1 =

R2 =

R3 =

R4 =

H1 =

win1 =

win2 =

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

Technical Program Outline

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

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

zoomwin <-- zoomwina(win1,win2)

win1 =

win2 =


*torusbig* - Draws the larger torus, a 3 dimensional ring that creates the outer surface of the elbow

torusbig <- torus(p1,R1,R2)

p1 =

R1 =

R2 =

box1 - draws a box slightly larger than the torus, in all dimensions

box1 <- box(p2,p3)

p2 =

p3 =