Skip to content

openbim-ifc-binding-core ​

Host-independent core shared by the openbim-ifc language bindings (WebAssembly, C ABI, Python).

StatusImplemented
Latest releasenot released (main is 0.1.0)
Registriesnot published yet; build from source
API documentationrustdoc
Sourcecrates/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 ​

FeatureDefaultEnables
ifc2x3yesopenbim-ifc/ifc2x3
ifc4yesopenbim-ifc/ifc4
ifc4x1yesopenbim-ifc/ifc4x1
ifc4x2yesopenbim-ifc/ifc4x2
ifc4x3yesopenbim-ifc/ifc4x3

Depends on ​

Changes ​

Full history: crates/openbim-ifc-binding-core/CHANGELOG.md

Released under the AGPL-3.0-or-later licence. ISO and CEN standards material is not redistributed.