pub fn to_nurbs(
model: &mut Model,
shape: &Shape,
tol: Tolerances,
) -> OgeomResult<Built>Expand description
Rebuild a solid with every surface and curve in B-spline form.
The result is a new solid in world coordinates (every occurrence placement baked in), whose geometry is exactly the original’s wherever the conversions are exact (everywhere but the fitted pcurves, whose error is bounded by the fit target derived from the tolerance). History records each original face modified into its converted twin.
§Errors
OgeomError::Construction if the
shape is not a solid or a conversion has no exact form (a trimmed
surface’s basis is converted; nothing else refuses today);
OgeomError::NotDone if a pcurve
refit cannot reach its target.