WIP improved UI ordering, and print export time in console for convenience. See #1222.

This commit is contained in:
Dion Moult
2021-01-26 16:07:35 +11:00
parent fa7353c923
commit 92cb138ca8
5 changed files with 27 additions and 74 deletions
@@ -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"