Skip to main content
OpenGeometry does not write IFC files. It gives the exact geometry of a solid in a form that an IFC writer can turn into an IfcAdvancedBrep or a CSG body.
This prints AdvancedBrep Z 1 6.

What you get

AnalyticExchangeBodyV2 is a read-only object:
  • schema_version: 2.
  • World metres, with Z up.
  • representation_type: 'AdvancedBrep', or 'CSG' for a solid with a cavity.
  • entities, solids and faces: the geometry and topology for the writer. Values are of type IfcPreparedValue.
It is the same version 2 object as prepareIfcExchange() gave in 2.0.18.

Rules

exportIfcBody takes one solid. A sheet, a wire or an assembly throws.
Last modified on November 10, 2026