You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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 = 1
  • y = 1
  • z = 1
    R1 = 8
    R2 = 4
    torus(p1,R1,R2) = _torus 1,1,1 8 4
    Unknown macro: {float}

    Unable to render embedded object: File (torus.JPG) not found.Unable to render embedded object: File (torus2.JPG) not found.
    Top View & NE Isometric View

  • No labels