Normalize UI panel naming

This commit is contained in:
Walter Stanish
2020-06-04 11:06:46 +10:00
parent 12bb14da48
commit 3a8a4b7c86
2 changed files with 30 additions and 30 deletions
+22 -22
View File
@@ -2,7 +2,7 @@ import bpy
from bpy.types import Panel from bpy.types import Panel
class BIM_PT_object(Panel): class BIM_PT_object(Panel):
bl_label = 'IFC Object' bl_label = 'BIM/IFC Object'
bl_idname = 'BIM_PT_object' bl_idname = 'BIM_PT_object'
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW' bl_region_type = 'WINDOW'
@@ -102,7 +102,7 @@ class BIM_PT_object(Panel):
class BIM_PT_document_information(Panel): class BIM_PT_document_information(Panel):
bl_label = 'Documents' bl_label = 'BIM/IFC Documents'
bl_idname = 'BIM_PT_document_information' bl_idname = 'BIM_PT_document_information'
bl_options = {'DEFAULT_CLOSED'} bl_options = {'DEFAULT_CLOSED'}
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
@@ -181,7 +181,7 @@ class BIM_PT_document_information(Panel):
class BIM_PT_documents(Panel): class BIM_PT_documents(Panel):
bl_label = 'Documents' bl_label = 'BIM/IFC Documents'
bl_idname = 'BIM_PT_documents' bl_idname = 'BIM_PT_documents'
bl_options = {'DEFAULT_CLOSED'} bl_options = {'DEFAULT_CLOSED'}
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
@@ -222,7 +222,7 @@ class BIM_PT_documents(Panel):
class BIM_PT_representations(Panel): class BIM_PT_representations(Panel):
bl_label = 'Representations' bl_label = 'BIM/IFC Representations'
bl_idname = 'BIM_PT_representations' bl_idname = 'BIM_PT_representations'
bl_options = {'DEFAULT_CLOSED'} bl_options = {'DEFAULT_CLOSED'}
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
@@ -255,7 +255,7 @@ class BIM_PT_representations(Panel):
class BIM_PT_classification_references(Panel): class BIM_PT_classification_references(Panel):
bl_label = 'Classification References' bl_label = 'BIM/IFC Classification References'
bl_idname = 'BIM_PT_classification_references' bl_idname = 'BIM_PT_classification_references'
bl_options = {'DEFAULT_CLOSED'} bl_options = {'DEFAULT_CLOSED'}
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
@@ -285,7 +285,7 @@ class BIM_PT_classification_references(Panel):
class BIM_PT_psets(Panel): class BIM_PT_psets(Panel):
bl_label = 'Psets' bl_label = 'BIM/IFC Item Property Sets'
bl_idname = 'BIM_PT_psets' bl_idname = 'BIM_PT_psets'
bl_options = {'DEFAULT_CLOSED'} bl_options = {'DEFAULT_CLOSED'}
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
@@ -329,7 +329,7 @@ class BIM_PT_psets(Panel):
class BIM_PT_classifications(Panel): class BIM_PT_classifications(Panel):
bl_label = 'Classifications' bl_label = 'BIM/IFC Item Classifications'
bl_idname = 'BIM_PT_classifications' bl_idname = 'BIM_PT_classifications'
bl_options = {'DEFAULT_CLOSED'} bl_options = {'DEFAULT_CLOSED'}
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
@@ -379,7 +379,7 @@ class BIM_PT_classifications(Panel):
row.prop(props, 'classifications') row.prop(props, 'classifications')
class BIM_PT_mesh(Panel): class BIM_PT_mesh(Panel):
bl_label = 'IFC Representations' bl_label = 'BIM/IFC Representations'
bl_idname = 'BIM_PT_mesh' bl_idname = 'BIM_PT_mesh'
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW' bl_region_type = 'WINDOW'
@@ -441,7 +441,7 @@ class BIM_PT_mesh(Panel):
class BIM_PT_material(Panel): class BIM_PT_material(Panel):
bl_label = 'IFC Materials' bl_label = 'BIM/IFC Materials'
bl_idname = 'BIM_PT_material' bl_idname = 'BIM_PT_material'
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW' bl_region_type = 'WINDOW'
@@ -508,7 +508,7 @@ class BIM_PT_material(Panel):
class BIM_PT_gis(Panel): class BIM_PT_gis(Panel):
bl_label = 'IFC Georeferencing' bl_label = 'BIM/IFC Georeferencing'
bl_idname = "BIM_PT_gis" bl_idname = "BIM_PT_gis"
bl_options = {'DEFAULT_CLOSED'} bl_options = {'DEFAULT_CLOSED'}
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
@@ -543,7 +543,7 @@ class BIM_PT_gis(Panel):
class BIM_PT_documentation(Panel): class BIM_PT_documentation(Panel):
bl_label = "Documentation" bl_label = "BIM/IFC Documentation"
bl_idname = "BIM_PT_documentation" bl_idname = "BIM_PT_documentation"
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW' bl_region_type = 'WINDOW'
@@ -722,7 +722,7 @@ class BIM_PT_text(Panel):
class BIM_PT_owner(Panel): class BIM_PT_owner(Panel):
bl_label = "Owner History" bl_label = "BIM/IFC Owner History"
bl_idname = "BIM_PT_owner" bl_idname = "BIM_PT_owner"
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW' bl_region_type = 'WINDOW'
@@ -743,7 +743,7 @@ class BIM_PT_owner(Panel):
class BIM_PT_context(Panel): class BIM_PT_context(Panel):
bl_label = "Geometric Representation Contexts" bl_label = "BIM/IFC Geometric Representation Contexts"
bl_idname = "BIM_PT_context" bl_idname = "BIM_PT_context"
bl_options = {'DEFAULT_CLOSED'} bl_options = {'DEFAULT_CLOSED'}
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
@@ -777,7 +777,7 @@ class BIM_PT_context(Panel):
class BIM_PT_bim(Panel): class BIM_PT_bim(Panel):
bl_label = "Building Information Modeling" bl_label = "BIM/IFC Setup"
bl_idname = "BIM_PT_bim" bl_idname = "BIM_PT_bim"
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW' bl_region_type = 'WINDOW'
@@ -847,7 +847,7 @@ class BIM_PT_bim(Panel):
class BIM_PT_search(Panel): class BIM_PT_search(Panel):
bl_label = "BIM Search" bl_label = "BIM/IFC Search"
bl_idname = "BIM_PT_search" bl_idname = "BIM_PT_search"
bl_options = {'DEFAULT_CLOSED'} bl_options = {'DEFAULT_CLOSED'}
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
@@ -887,7 +887,7 @@ class BIM_PT_search(Panel):
class BIM_PT_ifccsv(Panel): class BIM_PT_ifccsv(Panel):
bl_label = "IFC CSV" bl_label = "BIM/IFC CSV Import/Export"
bl_idname = "BIM_PT_ifccsv" bl_idname = "BIM_PT_ifccsv"
bl_options = {'DEFAULT_CLOSED'} bl_options = {'DEFAULT_CLOSED'}
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
@@ -918,7 +918,7 @@ class BIM_PT_ifccsv(Panel):
class BIM_PT_bcf(Panel): class BIM_PT_bcf(Panel):
bl_label = "BIM Collaboration Format" bl_label = "BIM/IFC Collaboration"
bl_idname = "BIM_PT_bcf" bl_idname = "BIM_PT_bcf"
bl_options = {'DEFAULT_CLOSED'} bl_options = {'DEFAULT_CLOSED'}
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
@@ -1033,7 +1033,7 @@ class BIM_PT_bcf(Panel):
class BIM_PT_qa(Panel): class BIM_PT_qa(Panel):
bl_label = "BIMTester Quality Auditing" bl_label = "BIM/IFC BIMTester Quality Auditing"
bl_idname = "BIM_PT_qa" bl_idname = "BIM_PT_qa"
bl_options = {'DEFAULT_CLOSED'} bl_options = {'DEFAULT_CLOSED'}
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
@@ -1082,7 +1082,7 @@ class BIM_PT_qa(Panel):
row.operator("bim.select_audited") row.operator("bim.select_audited")
class BIM_PT_library(Panel): class BIM_PT_library(Panel):
bl_label = "BIM Server Library" bl_label = "BIM/IFC BIM Server Library"
bl_idname = "BIM_PT_library" bl_idname = "BIM_PT_library"
bl_options = {'DEFAULT_CLOSED'} bl_options = {'DEFAULT_CLOSED'}
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
@@ -1107,7 +1107,7 @@ class BIM_PT_library(Panel):
layout.row().prop(scene.BIMLibrary, 'description') layout.row().prop(scene.BIMLibrary, 'description')
class BIM_PT_diff(Panel): class BIM_PT_diff(Panel):
bl_label = "IFC Diff" bl_label = "BIM/IFC Diff"
bl_idname = "BIM_PT_diff" bl_idname = "BIM_PT_diff"
bl_options = {'DEFAULT_CLOSED'} bl_options = {'DEFAULT_CLOSED'}
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
@@ -1143,7 +1143,7 @@ class BIM_PT_diff(Panel):
class BIM_PT_mvd(Panel): class BIM_PT_mvd(Panel):
bl_label = "Model View Definitions" bl_label = "BIM/IFC Model View Definitions"
bl_idname = "BIM_PT_mvd" bl_idname = "BIM_PT_mvd"
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW' bl_region_type = 'WINDOW'
@@ -1293,7 +1293,7 @@ class BIM_ADDON_preferences(bpy.types.AddonPreferences):
class BIM_PT_ifcclash(Panel): class BIM_PT_ifcclash(Panel):
bl_label = "IFC Clash" bl_label = "BIM/IFC Clash Sets"
bl_idname = "BIM_PT_ifcclash" bl_idname = "BIM_PT_ifcclash"
bl_options = {'DEFAULT_CLOSED'} bl_options = {'DEFAULT_CLOSED'}
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
@@ -4,8 +4,8 @@ Scene Properties
The scene properties panels allow you to manage data that applies to your entire The scene properties panels allow you to manage data that applies to your entire
IFC project as a whole, or to multiple elements. IFC project as a whole, or to multiple elements.
Building Information Modeling Panel BIM/IFC Setup Panel
----------------------------------- -------------------
System Setup System Setup
^^^^^^^^^^^^ ^^^^^^^^^^^^
@@ -112,8 +112,8 @@ Aggregates
to select and modify the aggregate parts. to select and modify the aggregate parts.
- **Save Aggregate** - this does the opposite of *Edit Aggregate*. - **Save Aggregate** - this does the opposite of *Edit Aggregate*.
Classifications BIM/IFC Classifications Panel
^^^^^^^^^^^^^^^ -----------------------------
- **Classification** - this lets you select which classification system you'd - **Classification** - this lets you select which classification system you'd
like to use. The list of possible classification systems is derived from the like to use. The list of possible classification systems is derived from the
@@ -132,8 +132,8 @@ Classifications
- **Unassign Classification** - this removes the currently active *Reference* - **Unassign Classification** - this removes the currently active *Reference*
in all of the selected objects. in all of the selected objects.
Owner History Panel BIM/IFC Owner History Panel
------------------- ---------------------------
- **Person** - this lets you select who you are. The values are derived from - **Person** - this lets you select who you are. The values are derived from
the ``{DATA_DIR}/owner/person.json`` file, particularly the the ``{DATA_DIR}/owner/person.json`` file, particularly the
@@ -151,8 +151,8 @@ Owner History Panel
will also be recorded as the author of the IFC file. will also be recorded as the author of the IFC file.
Geometric Representation Contexts Panel BIM/IFC Geometric Representation Contexts Panel
--------------------------------------- -----------------------------------------------
- **Has Model Context** - enabling this will allow you to export geometric data - **Has Model Context** - enabling this will allow you to export geometric data
related to the model view of your BIM data. This is generally 3D related to the model view of your BIM data. This is generally 3D