mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 22:12:32 +00:00
Minor fix to packaging
This commit is contained in:
@@ -26,7 +26,6 @@ class ExportIFC(bpy.types.Operator):
|
|||||||
bl_idname = "export.ifc"
|
bl_idname = "export.ifc"
|
||||||
bl_label = "Export .ifc file"
|
bl_label = "Export .ifc file"
|
||||||
filename_ext = ".ifc"
|
filename_ext = ".ifc"
|
||||||
#filter_glob: StringProperty(default="*.ifc", options={'HIDDEN'})
|
|
||||||
filepath: StringProperty(subtype='FILE_PATH')
|
filepath: StringProperty(subtype='FILE_PATH')
|
||||||
|
|
||||||
def invoke(self, context, event):
|
def invoke(self, context, event):
|
||||||
@@ -50,7 +49,6 @@ class ExportIFC(bpy.types.Operator):
|
|||||||
print('# Export finished in {:.2f} seconds'.format(time.time() - start))
|
print('# Export finished in {:.2f} seconds'.format(time.time() - start))
|
||||||
return {'FINISHED'}
|
return {'FINISHED'}
|
||||||
|
|
||||||
|
|
||||||
def menu_func(self, context):
|
def menu_func(self, context):
|
||||||
self.layout.operator(ExportIFC.bl_idname,
|
self.layout.operator(ExportIFC.bl_idname,
|
||||||
text="Industry Foundation Classes (.ifc)")
|
text="Industry Foundation Classes (.ifc)")
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
import ifcopenshell
|
|
||||||
import bpy
|
import bpy
|
||||||
import csv
|
import csv
|
||||||
import json
|
import json
|
||||||
import time
|
import time
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from mathutils import Vector
|
from mathutils import Vector
|
||||||
|
from . import ifcopenshell
|
||||||
|
|
||||||
class ArrayModifier:
|
class ArrayModifier:
|
||||||
count: int
|
count: int
|
||||||
|
|||||||
Reference in New Issue
Block a user