A rust crate for reading STP/STEP CAD files.

STEP (Stadndard for Exchange of Product model) is a standard for describing product data and is formally defined in ISO-10303.

Design

Schema files are written in EXPRESS language. We write an EXPRESS parser to read a schema defination, then generate a Rust code file which contains data type definations, trait impls and a reader to read stp files.

Run example: cargo run --features=gencode --bin gencode schemas/example.exp examples/family/reader.rs cargo run --example family

Generate AP214 reader: cargo run --release --features=gencode --bin gencode schemas/AP214E3_2010.exp parts/src/ap214.rs cargo build --workspace

STEP related resources: - CAx Interoperability Forum - STEP Tools - ISO 10303-21