SimpleDynMeshBuilder > ShapeGeneratorLibrary > Get Torus Params

Get Torus Params

Gets the parameters required for generating a torus.
Uses default values if the param is not found

Inputs

Shape Data
S Dyn Shape Data Structure
Dyn Shape Data containing the params for this shape

Outputs

Major Radius
Float (double-precision)
Radius of the outer circle
Minor Radius
Float (double-precision)
Radius of the inner circle which is being revolved
Revolve Degrees
Float (double-precision)
Number of degrees around to revolve the shape
Degree Offset
Float (double-precision)
Starting offset for the revolution
Major Steps
Integer
Number of steps in the revolution used to calculate the number of sides
Minor Steps
Integer
Number of steps for the inner circle used to calculate the number of sides
Capped
Boolean
Whether the ends are capped