Creates a TSplineCylinderInput object that is used to define all of the input required to create a cylinder shaped T-Spline body. The fully defined TSplineCylinderInput 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 cylinder is in the Z direction.
Additional settings can be defined using the returned TSplineCylinderInput 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 |
| TSplineCylinderInput | Returns the newly created TSplineCylinderInput object or null if the creation failed. |
| Name | Type | Description |
| origin | Point3D | The center point of the base of the cylinder. |
| xDirection | Vector3D | A vector defining the X direction. |
| yDirection | Vector3D | A vector defining the Y direction. This should be perpendicular to the xDirection. |
| radius | double | The radius of the cylinder in centimeters. |
| height | double | The height of the cylinder in the Z direction in centimeters. |