Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
h1. General Program Information

h2. Basics - Torus

*torus* - a function that takes in the inputs of a point and two radii to render a 3D circular ring in AutoCAD.
torus(p1,R1,R2) :=
* concat("_torus",sp,point(p1<0>),sp,stringit(R1),sp,stringit(R2),sp)

h5. Example
p1 =
* x = 1
* y = 1
* z = 1

R1 = 8

R2 = 4

torus(p1,R1,R2) = _torus 1,1,1 8 4
{float:left|border=2px solid black}
!torus.JPG!!torus2.JPG!
Top View & NE Isometric View
{float}