Section Plane -> Temporary Section Cutaway

This commit is contained in:
Walter Stanish
2020-06-05 20:53:20 +10:00
parent 619abdae51
commit 8ab42cf09f
3 changed files with 4 additions and 4 deletions
@@ -2320,7 +2320,7 @@ class RemovePropertyTemplate(bpy.types.Operator):
class AddSectionPlane(bpy.types.Operator): class AddSectionPlane(bpy.types.Operator):
bl_idname = 'bim.add_section_plane' bl_idname = 'bim.add_section_plane'
bl_label = 'Add Section Plane' bl_label = 'Add Temporary Section Cutaway'
def execute(self, context): def execute(self, context):
obj = self.create_section_obj() obj = self.create_section_obj()
@@ -2474,7 +2474,7 @@ class AddSectionPlane(bpy.types.Operator):
class RemoveSectionPlane(bpy.types.Operator): class RemoveSectionPlane(bpy.types.Operator):
bl_idname = 'bim.remove_section_plane' bl_idname = 'bim.remove_section_plane'
bl_label = 'Remove Section Plane' bl_label = 'Remove Temporary Section Cutaway'
def execute(self, context): def execute(self, context):
name = bpy.context.active_object.name name = bpy.context.active_object.name
+1 -1
View File
@@ -940,7 +940,7 @@ class BIMProperties(PropertyGroup):
active_property_set_template: PointerProperty(type=PropertySetTemplate) active_property_set_template: PointerProperty(type=PropertySetTemplate)
property_templates: CollectionProperty(name='Property Templates', type=PropertyTemplate) property_templates: CollectionProperty(name='Property Templates', type=PropertyTemplate)
should_section_selected_objects: BoolProperty(name="Section Selected Objects", default=False) should_section_selected_objects: BoolProperty(name="Section Selected Objects", default=False)
section_plane_colour: FloatVectorProperty(name='Section Plane Colour', subtype='COLOR', default=(1, 0, 0), min=0.0, max=1.0) section_plane_colour: FloatVectorProperty(name='Temporary Section Cutaway Colour', subtype='COLOR', default=(1, 0, 0), min=0.0, max=1.0)
ifc_selector: StringProperty(default='', name='IFC Selector') ifc_selector: StringProperty(default='', name='IFC Selector')
csv_attributes: CollectionProperty(name='CSV Attributes', type=StrProperty) csv_attributes: CollectionProperty(name='CSV Attributes', type=StrProperty)
document_information: CollectionProperty(name='Document Information', type=DocumentInformation) document_information: CollectionProperty(name='Document Information', type=DocumentInformation)
+1 -1
View File
@@ -626,7 +626,7 @@ class BIM_PT_documentation(Panel):
class BIM_PT_section_plane(Panel): class BIM_PT_section_plane(Panel):
bl_label = "Section Planes" bl_label = "Temporary Section Cutaways"
bl_idname = "BIM_PT_section_plane" bl_idname = "BIM_PT_section_plane"
bl_space_type = 'PROPERTIES' bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW' bl_region_type = 'WINDOW'