brepjs API Reference
    Preparing search index...

    Function chamferDistAngleShape

    • Chamfer edges of a shape using distance + angle.

      The distance is measured along the face that contains the edge, and the angle (in degrees) determines how the chamfer cuts into the adjacent face.

      Parameters

      • shape: Shape3D

        The 3D shape to chamfer.

      • edges: Edge[]

        Edges to chamfer (must not be empty).

      • distance: number

        Chamfer distance along the face (must be positive).

      • angleDeg: number

        Chamfer angle in degrees (must be in range (0, 90)).

      Returns Result<Shape3D>

      Ok with the chamfered shape, or Err on invalid input or kernel failure.

      Uses BRepFilletAPI_MakeChamfer.AddDA(dist, angle, edge, face) internally.