Creates a TSplineTorusInput object that is used to define all of the input required to create a torus shaped T-Spline body. The fully defined TSplineTorusInput object is passed into the add method to create the actual T-Spline body. The origin, xDirection, and yDirection define a coordinate system in space where the axis of the torus is in the Z direction.
Additional settings can be defined using the returned TSplineTorusInput object.
"tSplineBodies_var" is a variable referencing a TSplineBodies object. |
"tSplineBodies_var" is a variable referencing a TSplineBodies object. |
"tSplineBodies_var" is a variable referencing a TSplineBodies object. |
| Type | Description |
| TSplineTorusInput | Returns the newly created TSplineTorusInput object or null if the creation failed. |
| Name | Type | Description |
| origin | Point3D | The center point of the torus. |
| xDirection | Vector3D | A vector defining the X direction. |
| yDirection | Vector3D | A vector defining the Y direction. This should be perpendicular to the xDirection. |
| majorRadius | double | The major radius of the torus in centimeters. |
| minorRadius | double | The minor radius of the torus in centimeters. |