brepjs API Reference
    Preparing search index...

    Function supportExtrude

    • Extrude a wire along a normal constrained to a support surface.

      Constructs a linear spine from center to center + normal and sweeps the profile wire along it, constrained by the support surface geometry.

      Parameters

      • wire: Wire

        The profile wire to sweep.

      • center: Vec3

        Start point of the extrusion spine.

      • normal: Vec3

        Direction and length of the extrusion.

      • support: any

        OCCT support surface that constrains the sweep.

      Returns Result<Shape3D>

      Result containing the swept 3D shape.

      extrude!supportExtrude | supportExtrude (OOP) for the class-based equivalent.