Skip to main content

Crate ifc_step

Crate ifc_step 

Source
Expand description

ifc-step — IFC adaptation over generic ISO 10303-21 syntax.

Generic tokenization, escaping, records, parameters, sections, parsing, writing, partitioning, spans, diagnostics, and event sinks live in openbim_step. This crate owns only conversion between that generic substrate and ifc_model::Model plus IFC codec detection and I/O policy.

ModuleRole
codecStepCodec/StepReader: detection, parse policy, I/O
errorSTEP-specific failure modes
parserGeneric exchange to IFC record model
writerIFC record model to physical file

Re-exports§

pub use codec::StepCodec;
pub use codec::StepReader;
pub use error::StepError;

Modules§

codec
The STEP codec: format detection, parse policy, and model I/O.
error
Why a STEP parse failed at the IFC adapter boundary.

Structs§

Index
What is in a file, without what it says.
ParseOptions
Malformed-record policy, re-exported so consumers need not depend on openbim-step directly to configure a reader. Parse behavior toggles.

Enums§

OnMalformed
Malformed-record policy, re-exported so consumers need not depend on openbim-step directly to configure a reader. What to do when a data record cannot be parsed.

Functions§

is_step_file
Returns whether bytes begin with the ISO 10303-21 marker.