brepjs API Reference
    Preparing search index...

    Function addHoles

    • Add hole wires to an existing face. The resulting face preserves orientation.

      Parameters

      • f: PlanarFace
      • holes: (
            ShapeHandle & { "[___brand]": "wire"; "[___dim]": "3D" } & {
                "[___closed]": true;
            } & { "[___planar]": true }
        )[]

      Returns ShapeHandle & { "[___brand]": "face"; "[___dim]": "3D" } & {
          "[___oriented]": true;
      } & { "[___planar]": true }

    • Add hole wires to an existing face. The resulting face preserves orientation.

      Parameters

      Returns OrientedFace