Expand description
CADForge semantic core.
This crate is the authority on what a building is. Meshes, fragments, and GPU buffers
are caches derived from here and are always disposable (see docs/ifc-semantics.md ADR-001).
Two invariants govern this crate, both enforceable at review time:
- No platform dependencies. It compiles and tests without a window, a GPU, or an
event loop —
cargo test -p cadforge-coreon a headless machine is the check (ADR-0002). - No third-party IFC types in public signatures. The IFC library is swappable precisely because nothing here knows which one is in use (ADR-0003).
Re-exports§
pub use command::CommandError;pub use command::CommandOutcome;pub use command::ModelCommand;pub use element::BoundingBox;pub use element::ElementRecord;pub use element::IfcClass;pub use element::Placement;pub use id::GlobalId;pub use model::Model;pub use model::Revision;pub use property::PropertySet;pub use property::PropertySets;pub use property::PropertyValue;pub use representation::Representation;pub use spatial::IndexedElement;pub use spatial::SpatialIndex;