diff --git a/src/blenderbim/blenderbim/bim/module/clash/operator.py b/src/blenderbim/blenderbim/bim/module/clash/operator.py index 6c31fd3518..cca448f896 100644 --- a/src/blenderbim/blenderbim/bim/module/clash/operator.py +++ b/src/blenderbim/blenderbim/bim/module/clash/operator.py @@ -31,6 +31,7 @@ from blenderbim.bim.ifc import IfcStore class ExportClashSets(bpy.types.Operator): bl_idname = "bim.export_clash_sets" bl_label = "Export Clash Sets" + bl_description = "Export clash sets to a selected file" filename_ext = ".json" filepath: bpy.props.StringProperty(subtype="FILE_PATH") filter_glob: bpy.props.StringProperty(default="*.json", options={"HIDDEN"}) @@ -64,6 +65,7 @@ class ImportClashSets(bpy.types.Operator): bl_idname = "bim.import_clash_sets" bl_label = "Import Clash Sets" bl_options = {"REGISTER", "UNDO"} + bl_description = "Import clash sets from a selected file" filename_ext = ".json" filepath: bpy.props.StringProperty(subtype="FILE_PATH") filter_glob: bpy.props.StringProperty(default="*.json", options={"HIDDEN"}) @@ -100,6 +102,7 @@ class ImportClashSets(bpy.types.Operator): class AddClashSet(bpy.types.Operator): bl_idname = "bim.add_clash_set" bl_label = "Add Clash Set" + bl_description = "Add a clash set" bl_options = {"REGISTER", "UNDO"} def execute(self, context): @@ -113,6 +116,7 @@ class RemoveClashSet(bpy.types.Operator): bl_idname = "bim.remove_clash_set" bl_label = "Remove Clash Set" bl_options = {"REGISTER", "UNDO"} + bl_description = "Remove the selected clash set" index: bpy.props.IntProperty() def execute(self, context): @@ -124,6 +128,7 @@ class AddClashSource(bpy.types.Operator): bl_idname = "bim.add_clash_source" bl_label = "Add Clash Source" bl_options = {"REGISTER", "UNDO"} + bl_description = "Add a clash source to this group" group: bpy.props.StringProperty() def execute(self, context): @@ -136,6 +141,7 @@ class RemoveClashSource(bpy.types.Operator): bl_idname = "bim.remove_clash_source" bl_label = "Remove Clash Source" bl_options = {"REGISTER", "UNDO"} + bl_description = "Remove this clash source" index: bpy.props.IntProperty() group: bpy.props.StringProperty() @@ -149,6 +155,7 @@ class SelectClashSource(bpy.types.Operator): bl_idname = "bim.select_clash_source" bl_label = "Select Clash Source" bl_options = {"REGISTER", "UNDO"} + bl_description = "Select an IFC file to add as a clash source" filepath: bpy.props.StringProperty(subtype="FILE_PATH") filter_glob: bpy.props.StringProperty(default="*.ifc", options={"HIDDEN"}) index: bpy.props.IntProperty() @@ -197,6 +204,7 @@ class SelectSmartGroupedClashesPath(bpy.types.Operator): class ExecuteIfcClash(bpy.types.Operator): bl_idname = "bim.execute_ifc_clash" bl_label = "Execute IFC Clash" + bl_description = "Execute clash detection and save the information to a .bcf or .json file" filter_glob: bpy.props.StringProperty(default="*.bcf;*.json", options={"HIDDEN"}) filepath: bpy.props.StringProperty(subtype="FILE_PATH") @@ -266,6 +274,7 @@ class SelectIfcClashResults(bpy.types.Operator): bl_idname = "bim.select_ifc_clash_results" bl_label = "Select IFC Clash Results" bl_options = {"REGISTER", "UNDO"} + bl_description = "Select the clashing IFC geometry stored in a file" filename_ext = ".json" filepath: bpy.props.StringProperty(subtype="FILE_PATH") diff --git a/src/blenderbim/blenderbim/bim/module/project/operator.py b/src/blenderbim/blenderbim/bim/module/project/operator.py index d500cc3635..aa47238327 100644 --- a/src/blenderbim/blenderbim/bim/module/project/operator.py +++ b/src/blenderbim/blenderbim/bim/module/project/operator.py @@ -548,6 +548,7 @@ class UnloadProject(bpy.types.Operator): bl_idname = "bim.unload_project" bl_label = "Unload Project" bl_options = {"REGISTER", "UNDO"} + bl_description = "Unload the IFC project" def execute(self, context): IfcStore.purge() @@ -811,6 +812,7 @@ class ExportIFC(bpy.types.Operator): bl_idname = "export_ifc.bim" bl_label = "Export IFC" bl_options = {"REGISTER", "UNDO"} + bl_description = "Export the IFC project" filename_ext = ".ifc" filter_glob: bpy.props.StringProperty(default="*.ifc;*.ifczip;*.ifcxml;*.ifcjson", options={"HIDDEN"}) filepath: bpy.props.StringProperty(subtype="FILE_PATH")