Skip to main content

baked_shape

Function baked_shape 

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

Rebuild a solid, a shell, a face, or a compound of them, with its placements baked into the geometry, keeping every surface and curve in its own analytic vocabulary.

History records each face, edge occurrence and container modified into its twin: an edge node placed twice (a prism’s two ends) has two twins, one per placement, each read back through the placed occurrence.

A uniform-scale placement carries a cylinder to a cylinder and a line to a line (Transformable states each exactly), but the stored pcurves describe the old parameterizations. This rebuild restates the geometry in world space and re-derives every pcurve against it, exact where the chart alignment allows and projection-fitted with recorded slop where not, which is what lets a scaled shape enter the boolean’s analytic pipeline instead of refusing.

§Errors

As to_nurbs.