Skip to content

ifc-geometry ​

IFC semantic views lowered into the format-neutral geometry DAG.

StatusPartial
Latest release0.34.1 (2026-11-09)
Registriescrates.io ifc-geometry
Via the facadeopenbim-ifc feature geometry-select
API documentationrustdoc · docs.rs
Sourcecrates/ifc-geometry/

Overview ​

ifc-geometry — the IFC side of geometry.

Features ​

FeatureDefaultEnables
compilelowering, dep:axiolid-contracts, dep:axiolid-mesh-compile-contract, dep:axiolid-curve-evaluate-contract
compile-reference-backendcompile, dep:axiolid-mesh-compile, dep:axiolid-mesh-boolean-boolmesh, dep:axiolid-construct, dep:axiolid-predicates
ifc2x3yesifc-schema/ifc2x3
ifc4yesifc-schema/ifc4
ifc4x1yesifc-schema/ifc4x1
ifc4x2yesifc-schema/ifc4x2
ifc4x3yesifc-schema/ifc4x3
loweringyesdep: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
wirelowering, axiolid-model/serde

Depends on ​

Changes ​

Latest release, 0.34.1 (2026-11-09):

Changed (#693) ​

  • compile_sweep_directrix_with / compile_sweep_directrix no longer refuse a ranged directrix that is itself a curve relation (an IfcTrimmedCurve, an IfcIndexedPolyCurve with Segments, an offset curve): axiolid-mesh-compile 0.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 as CompilationRefused. Floor axiolid-mesh-compile 0.3.44 and axiolid-predicates 0.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 (Degenerate inside CompilationRefused) instead of as BudgetExceeded (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_reference accepts a layered Body of several IfcExtrudedAreaSolid items (an interrupted wall), each optionally clipped, when they share the Position orientation, the profile plane and the extrusion direction (origins may slide within the plane; under AXIS2 only along the wall, not across the layers); an item that disagrees is Unsupported, naming it. An empty Body is still Unsupported, now "at least one item". Splitting by layers already cut every part of the Body.

Added (#661) ​

  • BodyItem::swept_disk and SweptDisk: radius, inner radius, fillet radius, directrix and authored StartParam/EndParam of IfcSweptDiskSolid and IfcSweptDiskSolidPolygonal, 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 within tolerance (StartParam/EndParam applied, certified bound), in the frame the caller passes (a swept-area sweep's Position applied first). The FilletRadius of an IfcSweptDiskSolidPolygonal is 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

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