Skip to main content

fillet_edge_g2_quartic

Function fillet_edge_g2_quartic 

Source
pub fn fillet_edge_g2_quartic(
    solid: &BrepSolid,
    edge_id: u64,
    offset: f64,
    name: Option<&str>,
) -> Result<BrepSolid, KernelRefusal>
Expand description

A curvature-continuous (order 2) fillet of a straight edge between two planes whose section is the polynomial quartic Bézier curve through the contact on the first face, the point halfway from it to the edge, the edge’s own point, the point halfway from the edge to the contact on the second face, and that contact. The contacts stand where a ball of offset would touch (offset is the tangent offset: on a right angle, offset from the edge). Its first three control points lie on the first face and its last three on the second, so it leaves each face tangent and with no curvature (G2). Its middle radius of curvature follows from the legs and the angle alone (on a right angle with legs d, d·√2/3), where fillet_edge_g2’s is chosen.