Skip to main content

fillet_edges_with

Function fillet_edges_with 

Source
pub fn fillet_edges_with(
    model: &mut Model,
    solid: &Shape,
    edges: &[(Shape, f64)],
    tol: Tolerances,
) -> OgeomResult<Built>
Expand description

fillet_edges with a radius per edge.

With every radius the same, exactly fillet_edges at that radius. A solid bounded by planes goes through the blend engine as there, a corner of three radii closed with its transfinite patch; the rest is rounded as follows. Each band is built at its own radius and checked against the others as fillet_edges checks them. Two edges of one radius meet as there. Two edges of different radii turning at a vertex are rounded in turn, the later band running on through the earlier and the cut trimming the two against each other along their own intersection. A tangent chain whose radius steps at a junction is rounded likewise, the later band’s end standing against the earlier band.

§Errors

As fillet_edges, and as round_vertex_setback where three or more of the edges meeting at a vertex do not share one radius. No ball rolls round such a corner: each band is stopped one of its own widths past the least setback at which its section clears every other band there, and one patch closes the opening G1 to every band end and face. OgeomError::NotDone where that patch misses the bands’ fit target, and OgeomError::Construction where the corner is not a convex planar one every edge of which the request rounds. An edge asked twice at two radii is refused likewise.