Skip to main content

chamfer_corner_2d

Function chamfer_corner_2d 

Source
pub fn chamfer_corner_2d(
    model: &mut Model,
    wire: &Shape,
    vertex: &Shape,
    first: f64,
    second: f64,
    tol: Tolerances,
) -> OgeomResult<Built>
Expand description

Cut a corner of a wire, trimming first back along the earlier edge and second along the later, joined by a straight segment.

“Earlier” and “later” follow the wire’s own traversal order through the corner.

§Errors

As fillet_corner_2d.