diff --git a/src/ifcblenderexport/io_export_ifc/__init__.py b/src/ifcblenderexport/io_export_ifc/__init__.py index d22c4def64..f6273eddd4 100644 --- a/src/ifcblenderexport/io_export_ifc/__init__.py +++ b/src/ifcblenderexport/io_export_ifc/__init__.py @@ -26,7 +26,6 @@ class ExportIFC(bpy.types.Operator): bl_idname = "export.ifc" bl_label = "Export .ifc file" filename_ext = ".ifc" - #filter_glob: StringProperty(default="*.ifc", options={'HIDDEN'}) filepath: StringProperty(subtype='FILE_PATH') def invoke(self, context, event): @@ -50,7 +49,6 @@ class ExportIFC(bpy.types.Operator): print('# Export finished in {:.2f} seconds'.format(time.time() - start)) return {'FINISHED'} - def menu_func(self, context): self.layout.operator(ExportIFC.bl_idname, text="Industry Foundation Classes (.ifc)") diff --git a/src/ifcblenderexport/io_export_ifc/export.py b/src/ifcblenderexport/io_export_ifc/export.py index 41eded9e91..e5c80e0574 100644 --- a/src/ifcblenderexport/io_export_ifc/export.py +++ b/src/ifcblenderexport/io_export_ifc/export.py @@ -1,10 +1,10 @@ -import ifcopenshell import bpy import csv import json import time from pathlib import Path from mathutils import Vector +from . import ifcopenshell class ArrayModifier: count: int