Skip to main content

chamfer_edge_angle

Function chamfer_edge_angle 

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

Bevel a straight edge, cutting distance back along face and leaving it at angle radians from that face.

The distance-angle chamfer: the second distance is where the bevel, departing the named face at the given angle, meets the other face. An angle of π/4 on a square edge reproduces the symmetric chamfer.

§Errors

As chamfer_edge_distances, and additionally if the bevel at that angle never reaches the other face.