Install
The IFC stack is published for five languages. They all share one Rust core (ADR 0013), so a file read in one reads the same in the others.
| Language | Package | Latest release | Install | Requires | Reference |
|---|---|---|---|---|---|
| Rust | openbim-ifc | 0.42.0 (2026-11-09) | cargo add openbim-ifc | Rust 1.99.0 | openbim-ifc |
| JavaScript / TypeScript | @openbim/ifc | 0.16.0 (2026-11-09) | npm install @openbim/ifc | Node >=18 | openbim-ifc-wasm |
| Python | openbim-ifc | 0.16.0 (2026-11-09) | pip install openbim-ifc | Python >=3.9 | openbim-ifc-py |
| C / C++ | openbim_ifc (CMake, prebuilt archives) | 0.1.21 (2026-11-09) | find_package(openbim_ifc) | a C11 or C++17 compiler and CMake 3.21; Rust to build from source | openbim-ifc-capi |
| C# / .NET | OpenBim.Ifc | 0.13.0 (2026-11-09) | dotnet add package OpenBim.Ifc | netstandard2.0 or net8.0 | openbim-ifc-dotnet |
The table is generated from each package's changelog and manifest, so the versions and toolchain floors on this page are the ones the packages declare. The install commands take no version and resolve to the newest release.
Command line
The openbim-ifc command validates, converts and inspects files without writing code: prebuilt binaries for Linux, macOS and Windows, an install script, cargo install openbim-ifc-cli and a Homebrew formula. See Command line.
Rust
Depend on the openbim-ifc facade and turn on only the features you need. With no features beyond the default you get the model and the STEP codec, and nothing else is compiled:
cargo add openbim-ifc # model + STEP
cargo add openbim-ifc --features properties,spatial # plus two domainsThe library is imported as ifc (use ifc::{Codec, StepCodec};). Every feature, and the crate each one enables, is listed on the facade's reference page; the crate reference describes each crate.
JavaScript and TypeScript
npm install @openbim/ifcSee JavaScript and TypeScript.
Python
pip install openbim-ifcSee Python.
C and C++
The C ABI is a CMake package, openbim_ifc. Unpack a prebuilt archive from an openbim-ifc-capi-v* GitHub release or install it from a checkout, then:
find_package(openbim_ifc 0.1 CONFIG REQUIRED)
target_link_libraries(app PRIVATE openbim_ifc::openbim_ifc)See C and C++.
.NET
dotnet add package OpenBim.IfcOne package for .NET 8 and for .NET Framework 4.6.2 and later (through netstandard2.0), with the native library for Windows, Linux and macOS on x64 and Arm inside. See C# and .NET.