ifc-geometry
IFC semantic views lowered into the format-neutral geometry DAG.
| Status | Partial |
| Latest release | 0.34.1 (2026-11-09) |
| Registries | crates.io ifc-geometry |
| Via the facade | openbim-ifc feature geometry-select |
| API documentation | rustdoc · docs.rs |
| Source | crates/ifc-geometry/ |
Overview
ifc-geometry — the IFC side of geometry.
Features
| Feature | Default | Enables |
|---|---|---|
compile | lowering, dep:axiolid-contracts, dep:axiolid-mesh-compile-contract, dep:axiolid-curve-evaluate-contract | |
compile-reference-backend | compile, dep:axiolid-mesh-compile, dep:axiolid-mesh-boolean-boolmesh, dep:axiolid-construct, dep:axiolid-predicates | |
ifc2x3 | yes | ifc-schema/ifc2x3 |
ifc4 | yes | ifc-schema/ifc4 |
ifc4x1 | yes | ifc-schema/ifc4x1 |
ifc4x2 | yes | ifc-schema/ifc4x2 |
ifc4x3 | yes | ifc-schema/ifc4x3 |
lowering | yes | dep:ifc-alignment, dep:axiolid-core, dep:axiolid-curve, dep:axiolid-mesh, dep:axiolid-model, dep:axiolid-topology, dep:axiolid-primitive, dep:axiolid-profile, dep:axiolid-surface |
wire | lowering, axiolid-model/serde |
Depends on
Changes
Latest release, 0.34.1 (2026-11-09):
Changed (#693)
compile_sweep_directrix_with/compile_sweep_directrixno longer refuse a ranged directrix that is itself a curve relation (anIfcTrimmedCurve, anIfcIndexedPolyCurvewithSegments, an offset curve):axiolid-mesh-compile0.3.44 compiles a trim of a trim (axiolid/kernel#424), reading the range in the basis's parameter. A range outside the directrix, and point or arc-length selectors on a relation (axiolid/kernel#432), stay refused asCompilationRefused. Flooraxiolid-mesh-compile0.3.44 andaxiolid-predicates0.3.5 (correct orient2d, incircle and insphere signs at extreme scales).- Kernel 0.3.42 and later: an edge without a p-curve that leaves its B-spline face is refused by name (
DegenerateinsideCompilationRefused) instead of asBudgetExceeded(axiolid/kernel#320), and a stationed run whose sections may fold is reported unbounded by the fold check (axiolid/kernel#361). Patch-level.
Changed (#705)
layer_set_referenceaccepts a layered Body of severalIfcExtrudedAreaSoliditems (an interrupted wall), each optionally clipped, when they share thePositionorientation, the profile plane and the extrusion direction (origins may slide within the plane; underAXIS2only along the wall, not across the layers); an item that disagrees isUnsupported, naming it. An empty Body is stillUnsupported, now "at least one item". Splitting by layers already cut every part of the Body.
Added (#661)
BodyItem::swept_diskandSweptDisk: radius, inner radius, fillet radius, directrix and authoredStartParam/EndParamofIfcSweptDiskSolidandIfcSweptDiskSolidPolygonal, in the item frame.- With
compile:compile_sweep_directrix_with/compile_sweep_directrix, the directrix of a swept disk or directrix sweep as a polyline withintolerance(StartParam/EndParam applied, certified bound), in the frame the caller passes (a swept-area sweep'sPositionapplied first). TheFilletRadiusof anIfcSweptDiskSolidPolygonalis not applied. Patch-level on its own.
Changed (#661)
- A swept disk with a non-positive radius, a bore at least its radius, a half-open range or a non-positive fillet now refuses
body_description.
Semver: minor.
Full history: crates/ifc-geometry/CHANGELOG.md