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),
|
2019-11-17 12:40:14 +11:00
|
|
|
"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",
|
2019-10-07 21:11:11 +11:00
|
|
|
"category": "Import-Export"
|
|
|
|
|
}
|
2019-09-26 21:55:30 +10:00
|
|
|
|
2019-12-19 15:31:00 +11:00
|
|
|
import os
|
2020-04-07 12:02:44 +10:00
|
|
|
import site
|
2019-12-19 15:31:00 +11:00
|
|
|
|
2020-04-07 12:02:44 +10:00
|
|
|
# process ifcopenshell.pth in /scripts/addons
|
|
|
|
|
site.addsitedir(os.path.join(os.path.dirname(os.path.realpath(__file__)), "scripts", "addons"))
|
2019-12-19 15:31:00 +11:00
|
|
|
|
2020-04-07 12:02:44 +10:00
|
|
|
import bim as blenderbim
|
|
|
|
|
import ifcopenshell
|
2019-09-26 21:55:30 +10:00
|
|
|
|
|
|
|
|
|
2020-04-07 12:02:44 +10:00
|
|
|
def register():
|
|
|
|
|
blenderbim.register()
|
2019-10-07 21:11:11 +11:00
|
|
|
|
2019-10-08 23:05:27 +11:00
|
|
|
|
2020-04-07 12:02:44 +10:00
|
|
|
def unregister():
|
|
|
|
|
blenderbim.unregister()
|
2019-12-19 16:49:27 +11:00
|
|
|
|
2019-09-26 21:55:30 +10:00
|
|
|
|
2020-04-07 12:02:44 +10:00
|
|
|
if __name__ == "__main__":
|
|
|
|
|
register()
|