Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

General Program Information

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)

Example

p1 =

  • x = 0
  • y = 0
  • z = 0

R1 = 0.1524

R2 = 0.05715

torus(p1,R1,R2) = _torus 0,0,0 0.1524 0.05715

Wiki Markup
{float:left|border=2px solid black}
!4b.bmp!
Top View
!5.bmp!
Southwest Isometric View
{float}