pub fn chamfer_edge(
model: &mut Model,
solid: &Shape,
edge: &Shape,
distance: f64,
tol: Tolerances,
) -> OgeomResult<Built>Expand description
Bevel a straight edge of a solid, cutting distance back along each of
its two faces.
The edge must be straight, convex, and shared by exactly two planar faces; the distances are equal (the symmetric chamfer). The result is the boolean difference with a wedge whose legs run along the two faces, so the history reads as a cut: the two faces are modified into their trimmed pieces, the edge’s neighbourhood gains the bevel face.
§Errors
OgeomError::Construction if the edge is
not straight, not convex, not shared by exactly two planar faces of
solid, or distance is not a usable length.