brepjs API Reference
    Preparing search index...

    Function sketchSweep

    • Sweep a profile sketch along this sketch's wire path.

      Parameters

      • sketch: Sketch

        The path sketch. Consumed by this call.

      • sketchOnPlane: (plane: Plane, origin: Vec3) => this

        Function that builds the profile sketch at the sweep start.

      • OptionalsweepConfig: SweepOptions

        Sweep options (auxiliary spine, orthogonality, etc.).

      Returns Shape3D

      The swept 3D shape.

      Sketch.sweepSketch for the OOP equivalent.