1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! # Chijin
//!
//! Minimal Rust bindings for OpenCASCADE (OCC 7.8).
//!
//! Provides safe, ergonomic wrappers around the OCC C++ kernel for:
//! - Reading/writing STEP and BRep formats (stream-based, no temp files)
//! - Constructing primitive shapes (box, cylinder, half-space)
//! - Boolean operations (union, subtract, intersect)
//! - Face/edge topology traversal
//! - Meshing with customizable tolerance
//!
//! ## Known Bug Fixes
//!
//! This library addresses all known bugs from the previous binding:
//! - **Bug 1**: `STATUS_HEAP_CORRUPTION` — boolean results are auto-deep-copied
//! - **Bug 2**: `STATUS_ACCESS_VIOLATION` on exit — `STEPControl_Reader` leak in C++ layer
//! - **Bug 3**: Mesh normals off-by-one — correct loop bounds
//! - **Bug 4**: Hardcoded approximation tolerance — now parameterized
//! - **Bug 5**: Translation not propagating — uses `BRepBuilderAPI_Transform`
pub use Edge;
pub use Error;
pub use Face;
pub use ;
pub use Mesh;
pub use ;
pub use Solid;
pub use ;