Skip to main content

ogeom_heal/
lib.rs

1//! Shape healing: analysis, fixing and upgrading.
2//!
3//! Imported STEP and IGES geometry carries boundary slop, missing trims and
4//! false same-parameter claims. Healing repairs those before the shape is
5//! modelled with.
6
7pub mod divide;
8pub mod fix;
9pub mod fix_shape;
10pub mod free_bounds;
11mod free_gaps;
12mod lacking;
13mod pole;
14pub mod reanchor;
15pub mod remodel;
16pub mod same_parameter;
17pub mod seam;
18pub mod small;
19mod small_wires;
20pub mod solid;
21pub mod split;
22mod tails;
23
24pub mod canonical;
25mod crossing;
26pub mod reshape;
27pub mod upgrade;
28
29pub use canonical::{CanonicalReport, Simplified, canonical_simplify, recognize_surface};
30pub use divide::{
31    IsoLine, divide_by_angle, divide_by_area, divide_by_continuity, divide_face, to_bezier,
32};
33pub use fix::{FixedTrims, ReanchoredBoundaries, fix_face_pcurves, reanchor_boundaries};
34pub use fix_shape::{FixReport, Fixed, fix_shape};
35pub use free_bounds::{FreeBounds, free_bounds};
36pub use ogeom_algo::join_seam_columns;
37pub use reanchor::reanchor_periodic_rings;
38pub use remodel::{restrict_degree, swept_to_elementary};
39pub use reshape::Reshape;
40pub use same_parameter::{SameParameterReport, repair_same_parameter};
41pub use seam::seam_periodic_faces;
42pub use small::{SmallFaces, fix_small_faces, remove_small_solids};
43pub use solid::solids_from_shells;
44pub use split::{Projection, split_face};
45pub use upgrade::{
46    merge_edges, reduce_tolerances, same_domain, unify_same_domain, unify_same_domain_around,
47};