Skip to content

ifc-style ​

Presentation: styles, colours, textures, layers, annotation.

StatusImplemented
Latest release0.7.0 (2026-11-09)
Registriescrates.io ifc-style
Via the facadeopenbim-ifc feature style
API documentationrustdoc · docs.rs
Sourcecrates/ifc-style/

Overview ​

Strict, codec-independent IFC presentation and annotation views.

Appearance stays separate from geometry: this crate exposes colour, style, texture, layer, styled-item, and annotation semantics over ifc_model::Model without placing presentation state in the geometry kernel. Reads and writes resolve attribute slots through the selected ifc_schema::Schema, so IFC2x3, IFC4, and IFC4X3 layout drift is explicit rather than guessed.

Depends on ​

Changes ​

Latest release, 0.7.0 (2026-11-09):

Changed (#603) ​

  • Breaking: ColourSource gains MaterialSet { definition, materials } (it is #[non_exhaustive]; definition is a layer, profile or constituent set, a material list or a usage of one), and a colour the materials of a set agree on is reported with it where the openbim-ifc facade used to report Material of the first material. ColourSource and SurfaceColour are no longer Copy: materials is a list. StyleIndex itself still returns Material for one material.

Semver: minor (pre-1.0 breaking).

Full history: crates/ifc-style/CHANGELOG.md

Dual-licensed under AGPL-3.0-or-later or a commercial licence. ISO and CEN standards material is not redistributed.