SimpleDynMeshBuilder > ShapeGeneratorLibrary > Get Capsule Params

Get Capsule Params

Gets the parameters required for generating a capsule.
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

Radius
Float (double-precision)
The radius of the shape
Line Length
Float (double-precision)
The height of the cylinder (Total = Line Length + Radius * 2)
Hemisphere Steps
Integer
Number of steps for the half circle used to calculate the number of sides
Circle Steps
Integer
Number of steps for the circle used to calculate the number of sides