Return to Statement


Torus Example

This example demonstrates the creation of two tori, one (TORUS1) with positive radii values, and the other (TORUS2) with a negative major radius. TORUS1 has the default axis parallel to the ZC axis, while TORUS2 has an axis defined as parallel to the YC axis.

$$
$$ Declarations
$$
ENTITY/TORUS1,TORUS2
$$
$$ Geometry Definition
$$
TORUS1 = SOLTOR/ORIGIN,-1,-1,1,RADIUS,.5,.25
TORUS2 = SOLTOR/ORIGIN,1,1.5,1,RADIUS,-.5,1,AXIS,0,1,0


Solid Tori Creation Using Positive and Negative Major Radii