SimpleDynMeshBuilder > ShapeGeneratorLibrary > Get Irreg Spiral Revolve Polygon Params

Get Irreg Spiral Revolve Polygon Params

Gets the parameters required for generating a spiralled revolved irregular polygon.
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
Revolve Degrees
Float (double-precision)
Number of degrees around to revolve the shape
Degree Offset
Float (double-precision)
Starting offset for the revolution
Rise Per Revolution
Float (double-precision)
Number of units with which it should raise per revolution
Steps
Integer
Number of steps in the revolution used to calculate the number of sides (Using high numbers along with StepsPerRevolution set to true can cause long computation times)
Capped
Boolean
Whether the ends are capped
Steps Per Revolution
Boolean
Whether to multiply the given steps value by the number of revolutions (including partial revolutions)
Vertices
Array of Vector 2D Structures
The array of vertices in sequential order
If the shape renders weird, try copying the vertices into the PolygonVertexBuilder and using FlipVertices