Skip to main content

chamfer_edges_partial

Function chamfer_edges_partial 

Source
pub fn chamfer_edges_partial(
    model: &mut Model,
    solid: &Shape,
    specs: &[(Shape, Chamfer)],
    tol: Tolerances,
) -> OgeomResult<(Built, Vec<BlendRefusal>)>
Expand description

Bevel what of a request can be bevelled, leaving the rest sharp, as fillet_edges_partial rounds: the specs taken in request order, each joining the built set when chamfer_edges_with builds it with the specs accepted so far, a refused spec reported with the accepted specs whose edges share a vertex or a face with its edge.

ยงErrors

As chamfer_edges_with where no spec is accepted, and OgeomError::Cancelled when cancelled.