diff --git a/src/blenderbim/blenderbim/bim/__init__.py b/src/blenderbim/blenderbim/bim/__init__.py index 3f4e755006..8dce0824a0 100644 --- a/src/blenderbim/blenderbim/bim/__init__.py +++ b/src/blenderbim/blenderbim/bim/__init__.py @@ -122,7 +122,6 @@ classes = [ prop.BIMCollectionProperties, prop.BIMMaterialProperties, prop.BIMMeshProperties, - ui.BIM_PT_section_plane, ui.BIM_UL_generic, ui.BIM_UL_topics, ui.BIM_ADDON_preferences, @@ -130,7 +129,7 @@ classes = [ ui.BIM_PT_project_info, ui.BIM_PT_project_setup, ui.BIM_PT_geometry, - ui.BIM_PT_selection, + ui.BIM_PT_tab_grouping_and_filtering, # Tabs panel ui.BIM_PT_tabs, # Object information @@ -156,7 +155,9 @@ classes = [ # Quality and coordination ui.BIM_PT_tab_quality_control, ui.BIM_PT_tab_collaboration, - ui.BIM_PT_tab_integrations, + ui.BIM_PT_tab_sandbox, + # TODO: move this somewhere else and clean it up + ui.BIM_PT_section_plane, ] for mod in modules.values(): diff --git a/src/blenderbim/blenderbim/bim/module/augin/ui.py b/src/blenderbim/blenderbim/bim/module/augin/ui.py index 4daed80129..5f19989a9a 100644 --- a/src/blenderbim/blenderbim/bim/module/augin/ui.py +++ b/src/blenderbim/blenderbim/bim/module/augin/ui.py @@ -26,7 +26,7 @@ class BIM_PT_augin(bpy.types.Panel): bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" bl_context = "scene" - bl_parent_id = "BIM_PT_tab_integrations" + bl_parent_id = "BIM_PT_tab_sandbox" def draw(self, context): layout = self.layout diff --git a/src/blenderbim/blenderbim/bim/module/covetool/ui.py b/src/blenderbim/blenderbim/bim/module/covetool/ui.py index 4c055db03e..a167d0a533 100644 --- a/src/blenderbim/blenderbim/bim/module/covetool/ui.py +++ b/src/blenderbim/blenderbim/bim/module/covetool/ui.py @@ -26,7 +26,7 @@ class BIM_PT_covetool(bpy.types.Panel): bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" bl_context = "scene" - bl_parent_id = "BIM_PT_tab_integrations" + bl_parent_id = "BIM_PT_tab_sandbox" def draw(self, context): layout = self.layout diff --git a/src/blenderbim/blenderbim/bim/module/geometry/ui.py b/src/blenderbim/blenderbim/bim/module/geometry/ui.py index 4725373914..4fd697f940 100644 --- a/src/blenderbim/blenderbim/bim/module/geometry/ui.py +++ b/src/blenderbim/blenderbim/bim/module/geometry/ui.py @@ -233,6 +233,7 @@ class BIM_PT_workarounds(Panel): bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" bl_context = "data" + bl_parent_id = "BIM_PT_tab_geometric_relationships" @classmethod def poll(cls, context): diff --git a/src/blenderbim/blenderbim/bim/module/lca/ui.py b/src/blenderbim/blenderbim/bim/module/lca/ui.py index 5e06fd0098..9850bffe16 100644 --- a/src/blenderbim/blenderbim/bim/module/lca/ui.py +++ b/src/blenderbim/blenderbim/bim/module/lca/ui.py @@ -27,7 +27,7 @@ class BIM_PT_lca(Panel): bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" bl_context = "scene" - bl_parent_id = "BIM_PT_tab_integrations" + bl_parent_id = "BIM_PT_tab_sandbox" def draw(self, context): props = context.scene.BIMLCAProperties diff --git a/src/blenderbim/blenderbim/bim/module/project/ui.py b/src/blenderbim/blenderbim/bim/module/project/ui.py index 34fb692b07..981be2d4be 100644 --- a/src/blenderbim/blenderbim/bim/module/project/ui.py +++ b/src/blenderbim/blenderbim/bim/module/project/ui.py @@ -81,6 +81,7 @@ class BIM_PT_project(Panel): bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" bl_context = "scene" + bl_options = {"HIDE_HEADER"} bl_parent_id = "BIM_PT_project_info" def draw(self, context): diff --git a/src/blenderbim/blenderbim/bim/module/search/ui.py b/src/blenderbim/blenderbim/bim/module/search/ui.py index 4785fd14bb..3f837ed015 100644 --- a/src/blenderbim/blenderbim/bim/module/search/ui.py +++ b/src/blenderbim/blenderbim/bim/module/search/ui.py @@ -27,7 +27,7 @@ class BIM_PT_search(Panel): bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" bl_context = "scene" - bl_parent_id = "BIM_PT_selection" + bl_parent_id = "BIM_PT_tab_grouping_and_filtering" def draw(self, context): if not SearchData.is_loaded: @@ -177,7 +177,7 @@ class BIM_PT_IFCSelector(Panel): bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" bl_context = "scene" - bl_parent_id = "BIM_PT_selection" + bl_parent_id = "BIM_PT_tab_sandbox" def draw(self, context): layout = self.layout diff --git a/src/blenderbim/blenderbim/bim/ui.py b/src/blenderbim/blenderbim/bim/ui.py index 247d936764..5125cc65e6 100644 --- a/src/blenderbim/blenderbim/bim/ui.py +++ b/src/blenderbim/blenderbim/bim/ui.py @@ -90,6 +90,8 @@ class BIM_PT_section_plane(Panel): bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" bl_context = "output" + bl_options = {"DEFAULT_CLOSED"} + bl_parent_id = "BIM_PT_tab_sandbox" def draw(self, context): layout = self.layout @@ -374,8 +376,8 @@ class BIM_PT_tab_collaboration(Panel): pass -class BIM_PT_selection(Panel): - bl_label = "Selection" +class BIM_PT_tab_grouping_and_filtering(Panel): + bl_label = "Grouping and Filtering" bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" bl_context = "scene" @@ -459,8 +461,8 @@ class BIM_PT_tab_quality_control(Panel): pass -class BIM_PT_tab_integrations(Panel): - bl_label = "BIM Integrations" +class BIM_PT_tab_sandbox(Panel): + bl_label = "Sandbox" bl_space_type = "PROPERTIES" bl_region_type = "WINDOW" bl_context = "scene" @@ -471,7 +473,8 @@ class BIM_PT_tab_integrations(Panel): return tool.Blender.is_tab(context, "QUALITY") def draw(self, context): - pass + row = self.layout.row() + row.label(text="More Experimental Than Usual", icon="ERROR") # Object panel groups