This is a work in progress! Suggestions, improvements are very welcome.
This currently converts the following IFC structures:
IfcBuildingStorey
tobrick:Floor
IfcZone
tobrick:HVAC_Zone
IfcSpacee
tobrick:Room
- use
IfcRelAggregates
to associate rooms with HVAC zones and floors
Install Python requirements from requirements.txt
Download the appropriate version of IfcOpenShell
from this site and unzip it into this directoryo
The ifc2brick.py
script takes a single argument which is the name of the IFC file. The output is a Turtle-formatted file called output.ttl
python3 ifc2brick.py example_files/CIEE.ifc