brepjs API Reference
    Preparing search index...

    Function chamferWithEvolution

    • Apply a chamfer (beveled edge) to selected edges, returning both the result shape and the face evolution data.

      Parameters

      • shape: ValidSolid

        The shape to modify.

      • edges: readonly Edge[] | undefined

        Edges to chamfer. Pass undefined to chamfer all edges.

      • distance: number | [number, number] | ((edge: Edge) => number | [number, number] | null)

        Symmetric distance, asymmetric [d1, d2], or per-edge callback.

      Returns Result<EvolutionResult<ValidSolid>>