Start improving UI for clash detection and management

This commit is contained in:
Sigma Dimensions (Yass)
2023-08-18 11:04:21 +01:00
parent 5e25e4670d
commit 5c22faebe6
3 changed files with 18 additions and 4 deletions
@@ -152,6 +152,7 @@ classes = [
ui.BIM_PT_tab_operations,
# Quality and coordination
ui.BIM_PT_tab_quality_control,
ui.BIM_PT_tab_clash_detection,
ui.BIM_PT_tab_collaboration,
ui.BIM_PT_tab_sandbox,
# TODO: move this somewhere else and clean it up
@@ -27,7 +27,7 @@ class BIM_PT_ifcclash(Panel):
bl_space_type = "PROPERTIES"
bl_region_type = "WINDOW"
bl_context = "scene"
bl_parent_id = "BIM_PT_tab_quality_control"
bl_parent_id = "BIM_PT_tab_clash_detection"
def draw(self, context):
layout = self.layout
@@ -102,9 +102,10 @@ class BIM_PT_clash_manager(Panel):
bl_idname = "BIM_PT_clash_manager"
bl_label = "Clash Manager"
bl_options = {"DEFAULT_CLOSED"}
bl_space_type = "VIEW_3D"
bl_region_type = "UI"
bl_category = "BlenderBIM"
bl_space_type = "PROPERTIES"
bl_region_type = "WINDOW"
bl_context = "scene"
bl_parent_id = "BIM_PT_tab_clash_detection"
def draw(self, context):
layout = self.layout
+12
View File
@@ -464,6 +464,18 @@ class BIM_PT_tab_quality_control(Panel):
def draw(self, context):
pass
class BIM_PT_tab_clash_detection(Panel):
bl_label = "Clash Detection"
bl_space_type = "PROPERTIES"
bl_region_type = "WINDOW"
bl_context = "scene"
@classmethod
def poll(cls, context):
return tool.Blender.is_tab(context, "QUALITY")
def draw(self, context):
pass
class BIM_PT_tab_sandbox(Panel):
bl_label = "Sandbox"