Skip to main content

fillet_edge_variable

Function fillet_edge_variable 

Source
pub fn fillet_edge_variable(
    model: &mut Model,
    solid: &Shape,
    edge: &Shape,
    start_radius: f64,
    end_radius: f64,
    tol: Tolerances,
) -> OgeomResult<Built>
Expand description

Round a straight convex edge with a blend whose radius runs linearly from start_radius at the edge’s start to end_radius at its end.

For a linear law on a straight edge between planes the rolling ball’s envelope is exactly a rational B-spline surface (degree one along the edge, a rational quadratic arc across it, the control net affine in the radius), so nothing here is fitted. The tangency lines are straight, the legs stay planar, and the wedge subtracts through the boolean like its constant-radius siblings.

§Errors

As fillet_edge, for the straight planar seat only.