IfcOpenShell

IfcOpenShell is an open source (LGPL 3) software library that helps developers work with the industry foundation classes (IFC) file format. The IFC file format can be used to describe building and construction data. The format is commonly used for building information modelling (BIM), for example, mechanical loading analysis, and thermal and energy efficiency studies.

IfcOpenShell is primarily a collection of C++ libraries, however, as it has Python bindings, it can be integrated with programs like FreeCAD and Blender. It has support for Windows, Mac, and Linux. IfcOpenShell can be used as C++ developer libraries, through Python modules, via a number of Unix-style command line applications, or via graphical interfaces. The core libraries have support for IFC2X3, IFC4, IFC4.3, as well as custom IFC schemas defined by the user. Supported serialisations include IFC-SPF, IFC-JSON, IFC-XML, and IFC-HDF5.

IfcOpenShell supports geometry processing using the Open CASCADE geometry kernel. IFC geometry may be uniformly triangulated regardless of their original definition.

IfcOpenShell is also unique in its extensive Python API, which includes hundreds of functions for common IFC manipulation operations. This API supports many aspects of IFC not usually supported in other tools, including cascading geometric coordinate changes, subgraph purging, appending elements, and extensive support for 4D and 5D BIM operations like cost formulas, critical path analysis, and calendar-based scheduling propagation. It is also unique in its support for HDF5 caching, voxel analysis for dealing with less than precise BIM geometry, and semantic SVG-based drawing generation.

Tools

In addition to a developer library, IfcOpenshell can be used through multiple command line tools which can be used independently or together :

bcf-python

A simple Python implementation of BIM Collaboration Format (BCF). The data model is described in data.py. Manipulation of BCF-XML is available via bcfxml.py and manipulation of BCF-API is available via bcfapi.py. See also BIM Collaboration Format (BCF).

IfcConvert

A command line tool to convert IFC to different format including :

.objWaveFront OBJ(a .mtl file is also created)
.daeColladaDigital Assets Exchange
.glbglTFBinary glTF v2.0
.stpSTEPStandard for the Exchange of Product Data
.igsIGESInitial Graphics Exchange Specification
.xmlXMLProperty definitions and decomposition tree
.svgSVGScalable Vector Graphics (2D floor plan)
.ifcIFC-SPFIndustry Foundation Classes
You can pass multiple options. Type IfcConvert –help to learn more (considering it is installed on your system).

IfcGeomServer

A command-line tool which allow to process geometry in a crash safe manner using a child process with dynamic linking.

IfcOpenShell-python

A python API to manipulate IFC. See IfcOpenShell code examples. Comes with many utility functions for geolocation, data extraction, IFC query filtering, and more.

IFC Clash

IFC Clash detection using the flexible collision library.

IFC2CA

Conversion of IFC files into input files for Code_Aster structural simulation software.

IFC COBie

Conversion of IFC-SPF data into SpreadsheetML format for the COBie MVD. Includes error logging of invalid data and support for open format alternatives like CSV and ODS. See also: Bonsai and COBie

IFC CSV

Import and export support of IFC data to and from CSV files using a custom IFC query language. See also: Bonsai IFCCSV

IFC Diff

Compares two IFC files with settings to check geometry or particular data relationships. Produces a parseable diff in JSON.

IFC Patch

Provides a standard interface for users to easily apply predetermined “recipes” to manipulate IFC data without needing to have any technical knowledge. See forum topic for a example how to run it. https://community.osarch.org/discussion/10/ifcpatch-tool-now-available#latest

IFC Sverchok

Provides an extension to the Blender Sverchok add-on for visual programming nodes for IFC within the Blender environment.

BIMTester

Provides a way to specify BIM exchange requirements using natural human language and audit IFC files to check if they comply with the requirements.

IfcBlender

Replaced by Bonsai.

IfcMax

This plugin seems to not be developed anymore. It was an Ifc importer for 3ds Max.

Softwares powered by ifcopenshell

The following lists of projects, academia, and industry organisations is incomplete. People who use IfcOpenShell are not required to advertise that they do so and IfcOpenShell is a community effort that does not collect or have a list of customers like private companies.

FOSS projects

  • BIMxBEM : import IfcRelSpaceBoundary, IfcSpace and related building elements geometry and data
  • Bonsai : ifcopenshell-python - import/export, multi-core geometry processing and more (Winner of 2020 buildingSMART Awards in Technology)
  • FreeCAD : ifcopenshell-python - import/export Parametric 3D modeler allowing you to easily modify your design.
  • georeference-ifc Add geoferencing to IFC models
  • ifc-pipeline : IfcConvert / ifcopenshell - python
  • IFC Toolbox No-code IFC editing uses IfcOpenShell for model conversions.
  • IFCGref Visualisation of georeferenced models
  • IfcLCA Lifecycle analysis from IFC data
  • IFC Suite Online simple IFC editing
  • BIMServer enables you to store and manage the information of a construction (or other building related) project.
  • BIMSurfer
  • OpenProject An open source commercial CDE that uses IfcOpenShell for model processing.
  • opensource.construction Model Checker A set of standardised tests to check model quality including IDS.
  • Speckle a platform for model collaboration across any tool
  • xeokit-sdk An open source 3D graphics SDK from xeolabs for BIM and AEC. Built to view huge models in the browser. Used by industry leaders.

Proprietary projects

  • Areo SMART Facilities Management
  • Augin.app Publish and view AEC content in augmented reality in the environment on a 1:1 scale.
  • BIMData.io Provides an integrated viewer capable of loading several tens of thousands of objects.
  • Bimforce for IFC drawing generation
  • Cove.Tool to integrate into Blender for sustainability analysis
  • KeyFrame to help process IFC models for their viewer
  • Modulize - Uses IfcOpenShell “quite a lot”
  • Regola - Used for model checking
  • RengaSoftware - used in various operations internally
  • Spectar - Used for IFC conversions
  • StreamBIM (previously known as Rendra.io) (Winner of 2020 buildingSMART Awards in Construction via Project Celsius)
  • Tridify (Epic Megagrants recipient) Stream large & complex BIMs from the Cloud. A BIM Communication Service for all stakeholders with communication to issue management software.
  • TriDyme TriDyme helps construction’s companies to develop their own cloud-based (online) applications.
  • Wittym Wittym centralises digital twin data and simply connects experts with non-experts on a web platform. IfcOpenShell is used in the web platform to organize IFC in databases.
  • IfcPropertyRenamer A GUI to bulk rename properties
  • IFC Werkzeug A web app to view and edit data about IFCs
  • Sortdesk IFC Viewer Used to view IFC files and validate them against IDS specs (using ifctester)

Academia

IfcOpenShell is also used in university courses around the world.

  • École Polytechnique Fédérale de Lausanne (EPFL Switzerland)
  • Fachhochschule Nordwestschweiz FHNW (University of Applied Sciences and Arts Northwestern Switzerland)
  • Federal University of Viçosa in Brazil
  • MSc-education of Architecture, Civil Engineering and Construction & Robotics tracks at RWTH Aachen University in Germany
  • Technical University of Denmark
  • TU Eindhoven in the Netherlands
  • Parametric Design with Visual Programming in BIM by the Online Zigurat Global Institute for Technology
  • BIMfag Courses for BIM technicians in Norway
  • Tallinn University of Technology in Estonia
  • Masterclass Building Intelligence Thomas More Mechelen in Belgium
  • Universität der Künste Berlin
  • University of Maribor, Slovenia, Faculty of Civil Engineering, Transportation Engineering and Architecture
  • University of South Australia

It has also been a primary contributor in a number of research papers.

Industry

IfcOpenShell is known to be used in various companies and organisations. Size is roughly based on employee numbers: tiny (1-10), small (<100), medium (<1000), large.

NameCountryCompany SizeSector
AccionaSpainLargeDevelopment
AF Gruppen Norge ASNorwayLargeExample
Ai.K Data LabsIndiaTinyExample
BAUPUNKTNULL AGSwitzerland?Example
BCCVMoroccoTinyExample
bda2bimFranceTinyExample
bimdoSwitzerlandTinyConsultancy
Bouygues ConstructionAustraliaLargeExample
Brasfield & GorrieUSALargeGeneral Contractor
BUCC BVNetherlandsTinyEngineering
BylorUKLargeConstruction
Euskal Trenbide SareaSpainMediumOperations
FreyssinetAustraliaLargeEngineering
Géo²ConceptFranceSmallEngineering
GeosurvAustraliaSmallEngineering
John HollandAustraliaLargeConstruction
Ingenieursbureau 3BMNetherlandsExampleExample
Kier GroupUKLargeConstruction
Laing O’RourkeAustraliaLargeConstruction
LAB Entreprenør ASNorwayMediumExample
LendleaseAustraliaLargeConstruction
Norconsult Norge ASNorwayLargeExample
OpeningDesignUSATinyDesign
RambøllDenmarkLargeEngineering
RB Rail ASRail BalticaEstonia, Latvia and LithuaniaMedium
SBBSwitzerlandLargeExample
Société des Grands ProjetsFranceMediumExample
SpectarUSASmallExample
Tietoa Finland OyFinlandSmallExample
TMR (Queensland Department of Transport and Main Roads)AustraliaLargeOperations
Transport for NSWAustraliaLargeOperations
WSPAustraliaLargeEngineering

Installation

IfcOpenShell may be packaged in different Linux repositories, ready to install and use; or it can be packaged together with some programs that use it, for example, FreeCAD.

In other cases you may get one of the stand-alone, pre-compiled distributions, or you may download and compile the source code yourself.

To learn more about installing IfcOpenShell, visit the page in the FreeCAD wiki: IfcOpenShell.

See also

External Resources

https://github.com/bimfag/intro-python-bim (by Sigve Martin Pettersen and Hans Martin Eikerol)

https://github.com/jakob-beetz/ifcopenshell-notebooks (by Jakob Beetz)

  • Tutorial and code examples:

https://github.com/stefkeB/ifcopenshell_examples (by Stefan Boeykens)