Skip to main content

chamfer_edge_distances

Function chamfer_edge_distances 

Source
pub fn chamfer_edge_distances(
    model: &mut Model,
    solid: &Shape,
    edge: &Shape,
    face: &Shape,
    on_face: f64,
    on_other: f64,
    tol: Tolerances,
) -> OgeomResult<Built>
Expand description

Bevel a straight edge, cutting on_face back along face and on_other along the edge’s other face.

The asymmetric chamfer: face names which side the first distance applies to, and must be one of the two faces meeting at the edge.

What solid shares with other shapes is copied before it is worked on (ogeom_algo::on_own_nodes), which leaves them as they are.

§Errors

As chamfer_edge, and additionally if face is not one of the edge’s two faces.