openbim-ifc-binding-core
Host-independent core shared by the openbim-ifc language bindings (WebAssembly, C ABI, Python).
| Status | Implemented |
| Latest release | not released (main is 0.1.0) |
| Registries | not published yet; build from source |
| API documentation | rustdoc |
| Source | crates/openbim-ifc-binding-core/ |
Overview
Host-independent core of the IFC language bindings (ADR 0013, #34).
The WebAssembly, C and Python bindings each wrap IfcModel and move value::Tagged values into and out of their host. The operations, the lossless value encoding and the error codes live here once, so the three hosts cannot drift apart: a fix or a new operation lands in one place and every binding exposes it.
This crate adds no IFC behaviour of its own. It is a thin, host-shaped view of openbim-ifc; if a binding needs more, the facade grows first.
Features
| Feature | Default | Enables |
|---|---|---|
author | yes | openbim-ifc/authoring |
classification | yes | openbim-ifc/classification |
cost | yes | openbim-ifc/cost |
georef | yes | properties, openbim-ifc/georef |
graph | placements, openbim-ifc/geometry-wire | |
ifc2x3 | yes | openbim-ifc/ifc2x3 |
ifc4 | yes | openbim-ifc/ifc4 |
ifc4x1 | yes | openbim-ifc/ifc4x1 |
ifc4x2 | yes | openbim-ifc/ifc4x2 |
ifc4x3 | yes | openbim-ifc/ifc4x3 |
ifcxml | yes | openbim-ifc/ifcxml |
js-random | openbim-ifc/js-random | |
material | yes | openbim-ifc/material |
mesh | placements, openbim-ifc/mesh | |
placements | yes | openbim-ifc/geometry-select |
properties | yes | openbim-ifc/properties |
properties-write | yes | properties |
property-catalog | yes | properties-write, openbim-ifc/property-catalog |
property-catalog-runtime | properties-write, openbim-ifc/property-catalog-runtime | |
sheet-xlsx | yes | openbim-ifc/sheet-xlsx |
spatial | yes | openbim-ifc/spatial |
systems | yes | openbim-ifc/systems |
unreachable | yes | openbim-ifc/spatial, openbim-ifc/geometry-select |
validate | yes | openbim-ifc/validate |
validate-express | yes | validate, openbim-ifc/validate-express |
zip | yes | openbim-ifc/zip |
Depends on
Changes
Full history: crates/openbim-ifc-binding-core/CHANGELOG.md