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
+25 -29
View File
@@ -9,38 +9,38 @@ if bpy is not None:
from . import ui, prop, operator
modules = {
"root": None,
"aggregate": None,
"attribute": None,
"project": None,
"search": None,
"bcf": None,
"clash": None,
"classification": None,
"cobie": None,
"context": None,
"constraint": None,
"covetool": None,
"csv": None,
"diff": None,
"bimtester": None,
"debug": None,
"document": None,
"geometry": None,
"root": None,
"unit": None,
"georeference": None,
"layer": None,
"context": None,
"attribute": None,
"type": None,
"spatial": None,
"void": None,
"aggregate": None,
"geometry": None,
"cobie": None,
"material": None,
"style": None,
"layer": None,
"model": None,
"owner": None,
"patch": None,
"project": None,
"pset": None,
"pset_template": None,
"qto": None,
"search": None,
"spatial": None,
"style": None,
"type": None,
"unit": None,
"void": None,
"classification": None,
"constraint": None,
"document": None,
"pset_template": None,
"clash": None,
"csv": None,
"bimtester": None,
"diff": None,
"patch": None,
"covetool": None,
"debug": None,
}
for name in modules.keys():
@@ -62,7 +62,6 @@ if bpy is not None:
operator.SelectSweptSolidInnerCurves,
operator.AssignSweptSolidExtrusion,
operator.SelectSweptSolidExtrusion,
operator.FetchLibraryInformation,
operator.FetchExternalMaterial,
operator.FetchObjectPassport,
operator.CutSection,
@@ -120,7 +119,6 @@ if bpy is not None:
prop.Sheet,
prop.BIMProperties,
prop.DocProperties,
prop.BIMLibrary,
prop.IfcParameter,
prop.BoundaryCondition,
prop.PsetQto,
@@ -137,7 +135,6 @@ if bpy is not None:
ui.BIM_PT_drawings,
ui.BIM_PT_schedules,
ui.BIM_PT_sheets,
ui.BIM_PT_library,
ui.BIM_PT_camera,
ui.BIM_PT_text,
ui.BIM_PT_annotation_utilities,
@@ -170,7 +167,6 @@ if bpy is not None:
bpy.types.TOPBAR_MT_file_import.append(menu_func_import)
bpy.types.Scene.BIMProperties = bpy.props.PointerProperty(type=prop.BIMProperties)
bpy.types.Scene.DocProperties = bpy.props.PointerProperty(type=prop.DocProperties)
bpy.types.Scene.BIMLibrary = bpy.props.PointerProperty(type=prop.BIMLibrary)
bpy.types.Object.BIMObjectProperties = bpy.props.PointerProperty(type=prop.BIMObjectProperties)
bpy.types.Material.BIMObjectProperties = bpy.props.PointerProperty(type=prop.BIMObjectProperties)
bpy.types.Collection.BIMObjectProperties = bpy.props.PointerProperty(type=prop.BIMObjectProperties) # Check if we need this