brepjs API Reference
    Preparing search index...

    Function sketchHelix

    • Create a helical Sketch (open wire) with the given pitch, height, and radius.

      Parameters

      • pitch: number

        Axial distance per full revolution.

      • height: number

        Total height of the helix along its axis.

      • radius: number

        Radius of the helix.

      • center: PointInput = ...

        Center point of the helix base.

      • dir: PointInput = ...

        Axis direction of the helix.

      • lefthand: boolean = false

        If true, generate a left-handed helix.

      Returns Sketch

      A Sketch wrapping the helical wire.