mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
WIP improved UI ordering, and print export time in console for convenience. See #1222.
This commit is contained in:
@@ -96,6 +96,7 @@ class ExportIFC(bpy.types.Operator):
|
||||
settings.logger.info("Starting export")
|
||||
ifc_exporter.export()
|
||||
settings.logger.info("Export finished in {:.2f} seconds".format(time.time() - start))
|
||||
print("Export finished in {:.2f} seconds".format(time.time() - start))
|
||||
if not bpy.context.scene.DocProperties.ifc_files:
|
||||
new = bpy.context.scene.DocProperties.ifc_files.add()
|
||||
new.name = output_file
|
||||
@@ -393,15 +394,6 @@ class FetchExternalMaterial(bpy.types.Operator):
|
||||
return
|
||||
|
||||
|
||||
class FetchLibraryInformation(bpy.types.Operator):
|
||||
bl_idname = "bim.fetch_library_information"
|
||||
bl_label = "Fetch Library Information"
|
||||
|
||||
def execute(self, context):
|
||||
# TODO
|
||||
return {"FINISHED"}
|
||||
|
||||
|
||||
class FetchObjectPassport(bpy.types.Operator):
|
||||
bl_idname = "bim.fetch_object_passport"
|
||||
bl_label = "Fetch Object Passport"
|
||||
|
||||
Reference in New Issue
Block a user