mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
Search now renamed filtering and grouping. New "sandbox" section for more experimental panels. Old selector moved to sandbox along with augin/lca/covetool/temporary cutaways also moved there.
This commit is contained in:
@@ -122,7 +122,6 @@ classes = [
|
|||||||
prop.BIMCollectionProperties,
|
prop.BIMCollectionProperties,
|
||||||
prop.BIMMaterialProperties,
|
prop.BIMMaterialProperties,
|
||||||
prop.BIMMeshProperties,
|
prop.BIMMeshProperties,
|
||||||
ui.BIM_PT_section_plane,
|
|
||||||
ui.BIM_UL_generic,
|
ui.BIM_UL_generic,
|
||||||
ui.BIM_UL_topics,
|
ui.BIM_UL_topics,
|
||||||
ui.BIM_ADDON_preferences,
|
ui.BIM_ADDON_preferences,
|
||||||
@@ -130,7 +129,7 @@ classes = [
|
|||||||
ui.BIM_PT_project_info,
|
ui.BIM_PT_project_info,
|
||||||
ui.BIM_PT_project_setup,
|
ui.BIM_PT_project_setup,
|
||||||
ui.BIM_PT_geometry,
|
ui.BIM_PT_geometry,
|
||||||
ui.BIM_PT_selection,
|
ui.BIM_PT_tab_grouping_and_filtering,
|
||||||
# Tabs panel
|
# Tabs panel
|
||||||
ui.BIM_PT_tabs,
|
ui.BIM_PT_tabs,
|
||||||
# Object information
|
# Object information
|
||||||
@@ -156,7 +155,9 @@ classes = [
|
|||||||
# Quality and coordination
|
# Quality and coordination
|
||||||
ui.BIM_PT_tab_quality_control,
|
ui.BIM_PT_tab_quality_control,
|
||||||
ui.BIM_PT_tab_collaboration,
|
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():
|
for mod in modules.values():
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ class BIM_PT_augin(bpy.types.Panel):
|
|||||||
bl_space_type = "PROPERTIES"
|
bl_space_type = "PROPERTIES"
|
||||||
bl_region_type = "WINDOW"
|
bl_region_type = "WINDOW"
|
||||||
bl_context = "scene"
|
bl_context = "scene"
|
||||||
bl_parent_id = "BIM_PT_tab_integrations"
|
bl_parent_id = "BIM_PT_tab_sandbox"
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ class BIM_PT_covetool(bpy.types.Panel):
|
|||||||
bl_space_type = "PROPERTIES"
|
bl_space_type = "PROPERTIES"
|
||||||
bl_region_type = "WINDOW"
|
bl_region_type = "WINDOW"
|
||||||
bl_context = "scene"
|
bl_context = "scene"
|
||||||
bl_parent_id = "BIM_PT_tab_integrations"
|
bl_parent_id = "BIM_PT_tab_sandbox"
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
|||||||
@@ -233,6 +233,7 @@ class BIM_PT_workarounds(Panel):
|
|||||||
bl_space_type = "PROPERTIES"
|
bl_space_type = "PROPERTIES"
|
||||||
bl_region_type = "WINDOW"
|
bl_region_type = "WINDOW"
|
||||||
bl_context = "data"
|
bl_context = "data"
|
||||||
|
bl_parent_id = "BIM_PT_tab_geometric_relationships"
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def poll(cls, context):
|
def poll(cls, context):
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ class BIM_PT_lca(Panel):
|
|||||||
bl_space_type = "PROPERTIES"
|
bl_space_type = "PROPERTIES"
|
||||||
bl_region_type = "WINDOW"
|
bl_region_type = "WINDOW"
|
||||||
bl_context = "scene"
|
bl_context = "scene"
|
||||||
bl_parent_id = "BIM_PT_tab_integrations"
|
bl_parent_id = "BIM_PT_tab_sandbox"
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
props = context.scene.BIMLCAProperties
|
props = context.scene.BIMLCAProperties
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ class BIM_PT_project(Panel):
|
|||||||
bl_space_type = "PROPERTIES"
|
bl_space_type = "PROPERTIES"
|
||||||
bl_region_type = "WINDOW"
|
bl_region_type = "WINDOW"
|
||||||
bl_context = "scene"
|
bl_context = "scene"
|
||||||
|
bl_options = {"HIDE_HEADER"}
|
||||||
bl_parent_id = "BIM_PT_project_info"
|
bl_parent_id = "BIM_PT_project_info"
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ class BIM_PT_search(Panel):
|
|||||||
bl_space_type = "PROPERTIES"
|
bl_space_type = "PROPERTIES"
|
||||||
bl_region_type = "WINDOW"
|
bl_region_type = "WINDOW"
|
||||||
bl_context = "scene"
|
bl_context = "scene"
|
||||||
bl_parent_id = "BIM_PT_selection"
|
bl_parent_id = "BIM_PT_tab_grouping_and_filtering"
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
if not SearchData.is_loaded:
|
if not SearchData.is_loaded:
|
||||||
@@ -177,7 +177,7 @@ class BIM_PT_IFCSelector(Panel):
|
|||||||
bl_space_type = "PROPERTIES"
|
bl_space_type = "PROPERTIES"
|
||||||
bl_region_type = "WINDOW"
|
bl_region_type = "WINDOW"
|
||||||
bl_context = "scene"
|
bl_context = "scene"
|
||||||
bl_parent_id = "BIM_PT_selection"
|
bl_parent_id = "BIM_PT_tab_sandbox"
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
|||||||
@@ -90,6 +90,8 @@ class BIM_PT_section_plane(Panel):
|
|||||||
bl_space_type = "PROPERTIES"
|
bl_space_type = "PROPERTIES"
|
||||||
bl_region_type = "WINDOW"
|
bl_region_type = "WINDOW"
|
||||||
bl_context = "output"
|
bl_context = "output"
|
||||||
|
bl_options = {"DEFAULT_CLOSED"}
|
||||||
|
bl_parent_id = "BIM_PT_tab_sandbox"
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
@@ -374,8 +376,8 @@ class BIM_PT_tab_collaboration(Panel):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class BIM_PT_selection(Panel):
|
class BIM_PT_tab_grouping_and_filtering(Panel):
|
||||||
bl_label = "Selection"
|
bl_label = "Grouping and Filtering"
|
||||||
bl_space_type = "PROPERTIES"
|
bl_space_type = "PROPERTIES"
|
||||||
bl_region_type = "WINDOW"
|
bl_region_type = "WINDOW"
|
||||||
bl_context = "scene"
|
bl_context = "scene"
|
||||||
@@ -459,8 +461,8 @@ class BIM_PT_tab_quality_control(Panel):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class BIM_PT_tab_integrations(Panel):
|
class BIM_PT_tab_sandbox(Panel):
|
||||||
bl_label = "BIM Integrations"
|
bl_label = "Sandbox"
|
||||||
bl_space_type = "PROPERTIES"
|
bl_space_type = "PROPERTIES"
|
||||||
bl_region_type = "WINDOW"
|
bl_region_type = "WINDOW"
|
||||||
bl_context = "scene"
|
bl_context = "scene"
|
||||||
@@ -471,7 +473,8 @@ class BIM_PT_tab_integrations(Panel):
|
|||||||
return tool.Blender.is_tab(context, "QUALITY")
|
return tool.Blender.is_tab(context, "QUALITY")
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
pass
|
row = self.layout.row()
|
||||||
|
row.label(text="More Experimental Than Usual", icon="ERROR")
|
||||||
|
|
||||||
|
|
||||||
# Object panel groups
|
# Object panel groups
|
||||||
|
|||||||
Reference in New Issue
Block a user