cadmpeg-step
cadmpeg-step writes CadIr documents as ISO 10303-21 STEP AP214 files. Use
it when you want to export a model without calling the cadmpeg CLI.
Install
Use
use Units;
use CadIr;
use ;
let ir = empty;
let mut output = Vecnew;
let report = write_step?;
assert_eq!;
assert!;
# Ok::
Coverage
The writer handles solids, shells, faces, loops, edges, vertices, common analytic geometry, and B-spline curves and surfaces. It also writes the product and unit records expected by STEP readers.
The writer does not map every CadIr field to STEP AP214. StepReport lists
entities it skipped or reduced so callers can decide whether to keep the file.
Documentation
Requires Rust 1.88 or later. Licensed under Apache-2.0.