pub fn fix_face_pcurves(
model: &mut Model,
face: &Shape,
cap: f64,
tol: Tolerances,
) -> OgeomResult<FixedTrims>Expand description
Give a face’s pcurve-less edges the trims projection can honestly fit.
The reader heals boundary slop up to a millimetre and hands what it
refuses over in untrimmed_faces, face shape included; this is the
instructed follow-up: the
same projection fit, at the cap the caller chooses. Each fitted edge’s
tolerance widens to the offset actually measured, so the model says
what it knows; an edge past the cap is reported, not touched.
§Errors
OgeomError::Construction if
face is not a face, holds no surface, or an edge carries no space
curve to project.