IGeoPart Model.CreateCylindricalBolt(Object headHeight, Object headRadius, Object shankLength, Object shankRadius)

Create bolt with a cylinder head based on the specified dimensions. The bolt will be created so that the base of the head is at the origin and aligned with the Y-Z plane. Valid input arguments include: 1) `double` 2) `Quantity` 3) A string representation of `double` or `Quantity`, i.e., "1.0" or "1.0 [cm]"

Parameters

  • headHeight
    Type: Object
    The height of bolt head.
  • headRadius
    Type: Object
    The radius of the bolt head.
  • shankLength
    Type: Object
    The length of the shank.
  • shankRadius
    Type: Object
    The radius of the shank.

Return Value

Type: IGeoPart
A wrapper for the newly-created part.