IFC - Industry Foundation Classes

From Wiki.OSArch
IFC bsi icon.png This page is relevant to understanding Industry Foundation Classes (IFC). The Industry Foundation Classes (IFC) Category includes all pages related to Industry Foundation Classes (IFC).
An IFC file being viewed in FreeCAD

IFC (Industry Foundation Classes), is an Open Data schema and set of formats used to store OpenBIM data. It is developed and maintained by BuildingSMART International. IFC data can digitally describe many concepts, including:

  • Physical objects in our built environment (walls, slabs, columns, pipes)
  • 2D and 3D geometry that represents objects or annotate objects
  • A diverse set of properties and attributes spanning many domains
  • Materials attributes and display colours
  • Construction planning, resource allocation, and scheduling
  • Quantification of elements
  • Roles and responsibilities of organisations and individuals
  • Design strategies and legal constraints
  • Analytical models for structural analysis, energy analysis, and light analysis

The majority of BIM programs can read and write IFC data. However, the quality of vendor support for IFC data varies significantly between software. There are a lot of myths about IFC - so BuildingSMART International made a video series to address this: IFC Myth Busters

Subpages[edit]


IFC versions[edit]

There are currently three commonly supported versions of IFC: IFC2X3, IFC4 and more recently IFC4x3.

  • IFC2x3 (typically as Coordination View 2.0 or "CV 2.0") is typically what many BIM authors are used to using to export and exchange models. IFC2X3 has been an ISO standard since 2005.
  • IFC4 has been very slowly implemented in BIM authoring software despite being an ISO standard since 2013. IFC4x contains many new features compared to IFC2X3, such as improved geometry representations, geolocation support, and more element categories.
  • IFC4x3 became an ISO standard in March 2022 and extends IFC4 to be better suited for linear infrastructure (Roads, Railways, Bridges, Earthworks, Geotechnics, Ports & Waterways)

Officially released documentation is available from buildingSMART international.

For IFC 4x3 it is also possible for you to improve the documentation by visiting the automatically generated version.

IFC formats[edit]

IFC data is most commonly found in a plain text file format with the file extension .ifc. A common misconception is that IFC is only a intermediate file format. Instead, IFC is a schema, with a full file being only one of many possible ways to store or transfer OpenBIM data. It is possible to transfer portions of OpenBIM data, or full models, using a variety of serialisations. Other serialisations include:

  • .ifc IFC-SPF format, a commonly used plain text format based on STEP
  • .ifczip IfcZIP format, where a single .ifc file is compressed into a ZIP package
  • .ifcxml IfcXML format, a plain text format
  • .json JSON format, a plain text format
  • .hdf HDF5 format, a binary format
  • .sqlite SQLite format, a binary format

In reality, currently only .ifc and .ifczip sees common usage.

IFC classes[edit]

In IFC, a single concept is known as an IFC class. There are hundreds of IFC classes. Examples of IFC classes are IfcWall, IfcBuilding, and IfcTask. Classes can have attributes, for instance, the IfcWall can have a Name attribute. Classes can also have relationships to other classes, for example an IfcWall can be related to an IfcBuilding by being spatially contained within the IfcBuilding.

An example hierarchy of IFC classes

Classes can inherit from other classes, building up a hierarchy of classes. If a class inherits from another class, it inherits all of its attributes and relationships. For example, the IfcProduct class has a Representation attribute, which can store 3D geometry that represents that class. Because the IfcWall class inherits from the IfcProduct class, it also has a Representation attribute to store 3D geometry. However, the IfcPerson class does not inherit from the IfcProduct class, and so it does not have a Representation attribute.

See also the article specific to IFC_classes

Software Libraries for working with IFC[edit]

  • IFC.js is a javascript library for handling IFC data
  • Xeokit is a Web Programming Toolkit for AEC Graphics, including IFC
  • IfcOpenShell is a collection of C++ libraries with Python bindings and integration with FreeCAD and Blender
  • IFC-dotnet is a C# IFC library for .NET Core under an MIT license (innactive for several years)
  • XbimEssentials is a .NET library to work with data in the IFC format. This is the core component of the Xbim Toolkit and under a CPPL license
  • GeometryGymIFC C# classes to generate and parse OpenBIM IFC (Industry Foundation Class) files

See also[edit]

External Resources[edit]