Expand description
Shape healing: analysis, fixing and upgrading.
Imported STEP and IGES geometry carries boundary slop, missing trims and false same-parameter claims. Healing repairs those before the shape is modelled with.
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 free_bounds::FreeBounds;pub use free_bounds::free_bounds;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 seam::seam_periodic_faces;pub use small::SmallFaces;pub use small::fix_small_faces;pub use small::remove_small_solids;pub use solid::solids_from_shells;pub use split::Projection;pub use split::split_face;pub use upgrade::merge_edges;pub use upgrade::reduce_tolerances;pub use upgrade::same_domain;pub use upgrade::unify_same_domain;pub use upgrade::unify_same_domain_around;
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.
- free_
bounds - Free bounds: the edges of a shape only one face walks, chained into the contours they form.
- 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_parameterclaim. - seam
- Seams and poles for periodic faces that arrive without them.
- small
- Small faces and small solids, removed where a caller names the size below which they are noise.
- solid
- Solids from closed shells, outer boundaries told from voids by which shell lies inside which.
- split
- Splitting a face along curves: edges lying on it, or dropped onto it along its normals or along a direction.
- 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.
Functions§
- join_
seam_ columns - Make a seam of every edge that holds its column on a closed surface as plain pcurves where the surface’s faces walk it twice, once each way, on two columns a period apart: two faces joined along the surface’s seam, or one face going round it. Returns how many edges were made seams.