Category Archives : IfcOpenShell


Using IfcOpenShell and C++ to generate Alignments through the IFC 4×1 schema

IfcOpenShell has an EXPRESS parser and code generator that generates code for the various IFC schemas. As part of the source code repository comes pre-generated code for the two widely used versions IFC2X3 and IFC4. But arbitrary schemas can be fed into the parser to provide support for other schemas at compile time. This post […]


Creating a simple wall with property set and quantity information

The following recipe creates a simple wall from scratch using a templating technique to quickly populate the entity instances for the IFC project structure. Simple extrusion geometries, an IfcPropertySet and an IfcElementQuantity are added using the procedural entity instance creation functions. The script is written for a research project with Dr. Patrick Janssen in National […]


Using IfcOpenshell and pythonOCC to generate cross sections directly from an IFC file 6

[This article contains several snippets of source code for illustration purposes, the full source code can be downloaded at the bottom] Section information can be used for multiple purposes. This example is the first part of a project in which the aim is to be able to directly send information to a large 3D concrete […]