ifc-style
Presentation: styles, colours, textures, layers, annotation.
| Status | Implemented |
| Latest release | 0.7.0 (2026-11-09) |
| Registries | crates.io ifc-style |
| Via the facade | openbim-ifc feature style |
| API documentation | rustdoc · docs.rs |
| Source | crates/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:
ColourSourcegainsMaterialSet { definition, materials }(it is#[non_exhaustive];definitionis 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 theopenbim-ifcfacade used to reportMaterialof the first material.ColourSourceandSurfaceColourare no longerCopy:materialsis a list.StyleIndexitself still returnsMaterialfor one material.
Semver: minor (pre-1.0 breaking).
Full history: crates/ifc-style/CHANGELOG.md