Skip to main content

ogeom_heal/
lib.rs

1//! Shape healing: analysis, fixing and upgrading.
2//!
3//! *Elsewhere:* `ShapeFix`, `ShapeAnalysis`, `ShapeUpgrade`, `ShapeBuild`,
4//! `ShapeConstruct` and `ShapeExtend`.
5//!
6//! Not optional and not deferrable: essentially every real-world STEP or IGES file
7//! needs healing before it can be modeled with. A kernel that cannot survive
8//! imperfect imported geometry is unusable regardless of how good its booleans
9//! are.
10
11pub mod divide;
12pub mod fix;
13pub mod fix_shape;
14pub mod reanchor;
15pub mod remodel;
16pub mod same_parameter;
17pub mod small;
18
19pub mod canonical;
20pub mod reshape;
21pub mod upgrade;
22
23pub use canonical::{CanonicalReport, Simplified, canonical_simplify, recognize_surface};
24pub use divide::{
25    IsoLine, divide_by_angle, divide_by_area, divide_by_continuity, divide_face, to_bezier,
26};
27pub use fix::{FixedTrims, ReanchoredBoundaries, fix_face_pcurves, reanchor_boundaries};
28pub use fix_shape::{FixReport, Fixed, fix_shape};
29pub use reanchor::reanchor_periodic_rings;
30pub use remodel::{restrict_degree, swept_to_elementary};
31pub use reshape::Reshape;
32pub use same_parameter::{SameParameterReport, repair_same_parameter};
33pub use small::{SmallFaces, fix_small_faces, remove_small_solids};
34pub use upgrade::{merge_edges, reduce_tolerances, unify_same_domain};