Skip to main content

Helix

Extends SceneObject

Inherited from SceneObject

name()​

name(value: string): this

Sets a custom display name for this object, overriding the default type-based name.

ParameterTypeDescription
valuestringThe display name to assign.

Methods​

pitch()​

pitch(pitch: number): this

Axial rise per turn (distance along the helix axis covered per full revolution). If unset, derived from height / turns.

ParameterTypeDescription
pitchnumber

turns()​

turns(turns: number): this

Number of full turns. Fractional values are allowed. Default 1.

ParameterTypeDescription
turnsnumber

startOffset()​

startOffset(offset: number): this

Shifts the start of the helix along its axis, in axial mm. Positive values trim the start (move it toward the end); negative values extend it. Default 0.

ParameterTypeDescription
offsetnumber

endOffset()​

endOffset(offset: number): this

Extends (positive) or trims (negative) the helix at its end, in axial mm. Default 0.

ParameterTypeDescription
offsetnumber

height()​

height(height: number): this

Total axial height. Overrides face/edge-derived height when set. For line-edge input, defaults to the line length. For circular-edge / pure-axis input, defaults to 50 if neither this nor pitch * turns determine it.

ParameterTypeDescription
heightnumber

radius()​

radius(radius: number): this

Start radius. Defaults to 20 for axis/line-edge input. For a cylindrical face input, defaults to the face's radius and may be overridden (useful for sweep/fuse workflows where the helix tube must overlap the cylinder volumetrically — offset by ~1mm to avoid pure tangency). Ignored on conical face input (radius is derived from face geometry).

ParameterTypeDescription
radiusnumber

endRadius()​

endRadius(radius: number): this

End radius — when different from radius(), produces a conical helix. Defaults to radius(). Ignored on face/circle inputs.

ParameterTypeDescription
radiusnumber

ccw()​

ccw(): this

Winds the helix counter-clockwise (right-handed) about its axis — viewed from the axis tip looking back toward the origin — instead of the default clockwise (left-handed) winding.