Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 768 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 768 Bytes

dotbim-ifc

Purpose

Converts to and from IFC and dotbim.

Prerequirements

You need to install dotbimpy library (https://github.com/paireks/dotbimpy):

pip install dotbimpy

You also need IfcOpenShell 0.7.0 installed. You can get it from here: https://github.com/IfcOpenBot/IfcOpenShell/commit/883b8a523c63027f2f6c91650385d47edba5521b#commitcomment-65879927 Place this folder in your project where this script is located.

How to use it

Going to ...

ifc = ifcopenshell.open("foobar.ifc")
ifc2dotbim = Ifc2Dotbim(ifc)
ifc2dotbim.execute()
ifc2dotbim.write("foobar.bim")

Coming from ...

dotbim = dotbimpy.File.read("foobar.bim")
dotbim2ifc = Dotbim2Ifc(dotbim)
dotbim2ifc.execute()
dotbim2ifc.write("foobar.ifc")