CreateSpring(Double,Double,Int32,Int32,Double,Double,Boolean,Boolean) Method
In This Topic
Creates a Spring primitive.
Syntax
'Declaration
Public Overloads Shared Function CreateSpring( _
ByVal As Double, _
ByVal As Double, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Double, _
ByVal As Double, _
ByVal As Boolean, _
ByVal As Boolean _
) As Solid
public static Solid CreateSpring(
double ,
double ,
int ,
int ,
double ,
double ,
bool ,
bool
)
Parameters
- radius
- Spring radius
- wireRadius
- Wire radius
- sides
- Number of subdivision sides
- rings
- Number of subdivision rings per turn
- pitch
- Height of each complete turn
- turns
- Number of turns
- reverseTwist
- Reverse direction
- closed
- Closing caps on both ends
Return Value
The resulting solid object.
See Also