Introduction
IFC is the open standard for building information modelling (BIM), maintained by buildingSMART International and published as ISO 16739-1. Rather than lines and surfaces, an IFC model describes a building as objects: a site, a building, storeys, spaces, walls, slabs, doors, windows, pipes and ducts, each with its geometry, materials, properties and relationships. Since IFC 4.3 it also covers infrastructure: bridges, roads, railways, waterways and ports.
Architects, engineers and contractors use IFC to exchange models between different
BIM programs and to hand over a building’s data. buildingSMART lists three official
versions: IFC2x3 TC1, IFC4 ADD2 TC1 and IFC4.3 ADD2, whose files name the schemas
IFC2X3, IFC4 and IFC4X3_ADD2.
Structure
An .ifc file uses the same text encoding as STEP,
ISO 10303-21. The header’s FILE_SCHEMA names the IFC version, and the
DATA section lists numbered entities, each referring to others by
number. Every building element has a globally unique id and an owner history, and
objects are linked through relationship entities, such as the one that places
elements in a storey.
ISO-10303-21;
HEADER;
FILE_SCHEMA(('IFC4'));
ENDSEC;
DATA;
#1=IFCPROJECT('2O2Fr$t4X7Zf8NOew3FLOH',$,'House',$,$,$,$,$,$);
#20=IFCBUILDINGSTOREY('0eBbL5mQf0vBhWl2VZbVDn',$,'Ground floor',$,$,$,$,$,.ELEMENT.,0.);
#30=IFCWALL('1kTvXnbbzCWw8lcMd1dR4o',$,'Wall 1',$,$,$,$,$,$);
ENDSEC;
END-ISO-10303-21;
The documentation also defines an XML encoding, following ISO 10303-28. The
.ifcxml and zipped .ifczip extensions are not named in the
IFC 4.3 documentation; see file forms and versions.
In this reference
- File forms and versions – the parts of the standard, schema forms, exchange file forms, versions and schema identifiers, what the header carries, model view definitions, string limits, deletions and deprecations
- Kernel and spatial structure – IfcRoot and GlobalId compression, owner history, objects and the project, every relationship entity, the spatial structure and IFC 4.3 facilities, property and quantity sets, units
- Placement and representation – object and axis placements, representation contexts, every shape representation identifier and type, mapped items and georeferencing
- Schemas and entities – the 42 schemas of IFC 4.3 in their four layers, with the names of all 876 entities
The reference follows buildingSMART’s IFC 4.3 documentation and UML model. It gives the attributes of the core entities, not yet of every entity.
Not described
Known, not yet covered
- Reference: the attributes of the curve, surface, solid, tessellation and topology entities (listed by name only), the full attribute lists of the property, quantity, unit and template entities and of IfcDerivedUnit and IfcMonetaryUnit (kernel page), and the types, enumerations, property sets and quantity sets of each schema (schemas page). buildingSMART publishes them; they have not been written up.
- Reference: the zipped and XML packagings (
.ifcZIP,.ifcXML) and the other header entities’ IFC rules; buildingSMART’s technical page on IFC formats could not be read (encodings page). - Viewer: none yet; the site shows the hex viewer only.
Unknown
- Reference: the structure of IFC JSON and RDF/OWL files, which the documentation lists as under development, and the scope of the Design Transfer View.
- Reference: where the UML model and the documentation disagree (for example the spellings DILATIONTRACK or DILATATIONTRACK) and the EXPRESS name of the select behind IfcFacilityPart.PredefinedType; the exported EXPRESS file was not read.
Links
Software
- Autodesk Revit – Autodesk’s BIM program, which imports and exports IFC (Windows)
- Archicad – Graphisoft’s BIM program, which imports and exports IFC (Windows, macOS)
- Bonsai – free open source BIM add-on for Blender that works natively in IFC (Windows, macOS, Linux)
- FreeCAD – free open source parametric CAD program with a BIM workbench (Windows, macOS, Linux)
Developers
- IfcOpenShell – reads, writes and edits IFC (C++, Python)
Reference
- buildingSMART International – the standards body that publishes the IFC schemas and documentation