Skip to main content

Crate ogeom_heal

Crate ogeom_heal 

Source
Expand description

Shape healing: analysis, fixing and upgrading.

Elsewhere: ShapeFix, ShapeAnalysis, ShapeUpgrade, ShapeBuild, ShapeConstruct and ShapeExtend.

Not optional and not deferrable: essentially every real-world STEP or IGES file needs healing before it can be modeled with. A kernel that cannot survive imperfect imported geometry is unusable regardless of how good its booleans are.

Re-exports§

pub use canonical::CanonicalReport;
pub use canonical::Simplified;
pub use canonical::canonical_simplify;
pub use canonical::recognize_surface;
pub use divide::IsoLine;
pub use divide::divide_by_angle;
pub use divide::divide_by_area;
pub use divide::divide_by_continuity;
pub use divide::divide_face;
pub use divide::to_bezier;
pub use fix::FixedTrims;
pub use fix::ReanchoredBoundaries;
pub use fix::fix_face_pcurves;
pub use fix::reanchor_boundaries;
pub use fix_shape::FixReport;
pub use fix_shape::Fixed;
pub use fix_shape::fix_shape;
pub use reanchor::reanchor_periodic_rings;
pub use remodel::restrict_degree;
pub use remodel::swept_to_elementary;
pub use reshape::Reshape;
pub use same_parameter::SameParameterReport;
pub use same_parameter::repair_same_parameter;
pub use small::SmallFaces;
pub use small::fix_small_faces;
pub use small::remove_small_solids;
pub use upgrade::merge_edges;
pub use upgrade::reduce_tolerances;
pub use upgrade::unify_same_domain;

Modules§

canonical
Canonical simplification: recognizing that exact geometry is secretly analytic: a B-spline surface that is a cylinder becomes the cylinder.
divide
Dividing a shape into smaller pieces: faces cut along lines of their own parameters, edges cut at parameters of their own.
fix
Fixing faces: recomputing the trims a face is missing.
fix_shape
One entry point over a shape nobody promised was well-formed.
reanchor
Re-anchoring the rings of a seamless periodic face.
remodel
Remodelling: a shape’s geometry restated wholesale, every trim re-derived against what replaced its surface.
reshape
The reshape framework: record substitutions, apply them over a shape in one pass.
same_parameter
Verifying (and where needed, widening into truth) the same_parameter claim.
small
Small faces and small solids, removed where a caller names the size below which they are noise.
upgrade
The upgrade family: same-domain face unification, collinear edge merging, and tolerance reduction, undoing the splits an operation left behind without changing the shape they describe.