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: ClosedWire<Dimension>

        The profile wire to sweep (must be closed).

      • center: Vec3

        Start point of the extrusion spine.

      • normal: Vec3

        Direction and length of the extrusion.

      • support: any

        kernel support surface that constrains the sweep.

      Returns Result<Shape3D>

      Result containing the swept 3D shape.