Skip to main content

trimmed_or_fitted_where_bare

Function trimmed_or_fitted_where_bare 

Source
pub fn trimmed_or_fitted_where_bare(
    model: &mut Model,
    face: &Shape,
    tol: Tolerances,
) -> OgeomResult<()>
Expand description

As trimmed_where_bare, with every edge left without a closed form given a pcurve fitted by projection at the curve’s own parameters: a face kept whole in a solid (a sweep’s end) is only valid with a trim on every edge.

The fit’s miss is measured, the lifted pcurve against the curve at the same parameter, and the edge and its vertices widened to it. An edge sitting off the surface by more than its own tolerance is not the face’s boundary, and refuses.

§Errors

As trimmed_where_bare, and OgeomError::Construction if an edge with no closed-form trim sits off the face’s surface by more than its tolerance, or cannot be projected onto it.