Files
IfcOpenShell/src/ifcblenderexport/blenderbim/__init__.py
T

33 lines
811 B
Python
Raw Normal View History

2019-09-26 21:55:30 +10:00
bl_info = {
2019-11-17 12:29:02 +11:00
"name": "BlenderBIM",
"description": "Author, import, and export files in the "
2019-09-26 21:55:30 +10:00
"Industry Foundation Classes (.ifc) file format",
"author": "Dion Moult, IfcOpenShell",
"blender": (2, 80, 0),
"version": (0, 0, 999999),
2019-11-17 12:29:02 +11:00
"location": "File > Export, File > Import, Scene / Object / Material / Mesh Properties",
2020-03-22 15:25:57 +11:00
"tracker_url": "https://github.com/IfcOpenShell/IfcOpenShell/issues",
"category": "Import-Export"
}
2019-09-26 21:55:30 +10:00
import os
import site
# process ifcopenshell.pth in /scripts/addons
site.addsitedir(os.path.join(os.path.dirname(os.path.realpath(__file__)), "scripts", "addons"))
import bim as blenderbim
import ifcopenshell
2019-09-26 21:55:30 +10:00
def register():
blenderbim.register()
def unregister():
blenderbim.unregister()
2019-12-19 16:49:27 +11:00
2019-09-26 21:55:30 +10:00
if __name__ == "__main__":
register()