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
authoryesopenbim-ifc/authoring
classificationyesopenbim-ifc/classification
costyesopenbim-ifc/cost
georefyesproperties, openbim-ifc/georef
graphplacements, openbim-ifc/geometry-wire
ifc2x3yesopenbim-ifc/ifc2x3
ifc4yesopenbim-ifc/ifc4
ifc4x1yesopenbim-ifc/ifc4x1
ifc4x2yesopenbim-ifc/ifc4x2
ifc4x3yesopenbim-ifc/ifc4x3
ifcxmlyesopenbim-ifc/ifcxml
js-randomopenbim-ifc/js-random
materialyesopenbim-ifc/material
meshplacements, openbim-ifc/mesh
placementsyesopenbim-ifc/geometry-select
propertiesyesopenbim-ifc/properties
properties-writeyesproperties
property-catalogyesproperties-write, openbim-ifc/property-catalog
property-catalog-runtimeproperties-write, openbim-ifc/property-catalog-runtime
sheet-xlsxyesopenbim-ifc/sheet-xlsx
spatialyesopenbim-ifc/spatial
systemsyesopenbim-ifc/systems
unreachableyesopenbim-ifc/spatial, openbim-ifc/geometry-select
validateyesopenbim-ifc/validate
validate-expressyesvalidate, openbim-ifc/validate-express
zipyesopenbim-ifc/zip

Depends on ​

Changes ​

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

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