Skip to main content

Module remodel

Module remodel 

Source
Expand description

Remodelling: a shape’s geometry restated wholesale, every trim re-derived against what replaced its surface.

restrict_degree brings every spline curve and surface under a degree limit at a stated tolerance, for a format that caps it. swept_to_elementary names the swept surfaces that are planes, drums, cones, balls or tori as what they are: an extruded line or circle, a revolved line or circle.

Functions§

restrict_degree
shape with every spline curve and surface of degree above max_degree refitted at that degree, each within tolerance of what it replaces, and every trim re-derived. Analytic geometry has no degree to restrict and stays as it is.
swept_to_elementary
shape with every surface of extrusion or revolution that is a plane, drum, cone, ball or torus restated as it: a line or circle extruded, a line or circle revolved in a plane through the axis. Every trim is re-derived; the surfaces are the same point sets, so nothing moves.