diff options
Diffstat (limited to 'mesh_extra_tools/mesh_select_tools')
6 files changed, 22 insertions, 22 deletions
diff --git a/mesh_extra_tools/mesh_select_tools/mesh_index_select.py b/mesh_extra_tools/mesh_select_tools/mesh_index_select.py index 492ff825..bc894924 100644 --- a/mesh_extra_tools/mesh_select_tools/mesh_index_select.py +++ b/mesh_extra_tools/mesh_select_tools/mesh_index_select.py @@ -25,7 +25,7 @@ class SelVertEdgeFace(Operator): bl_description = "Select Vertices, Edges, Faces by their indices" bl_options = {"REGISTER", "UNDO"} - select_type = EnumProperty( + select_type: EnumProperty( items=[ ('VERT', "Vertices", "Select Vertices by index"), ('EDGE', "Edges", "Select Edges by index"), @@ -35,7 +35,7 @@ class SelVertEdgeFace(Operator): description="", default='VERT', ) - indice = FloatProperty( + indice: FloatProperty( name="Selected", default=0, min=0, max=100, @@ -43,17 +43,17 @@ class SelVertEdgeFace(Operator): precision=2, subtype="PERCENTAGE" ) - delta = BoolProperty( + delta: BoolProperty( name="Use Parameter", default=False, description="Select by Index / Parameter" ) - flip = BoolProperty( + flip: BoolProperty( name="Reverse Order", default=False, description="Reverse selecting order" ) - start_new = BoolProperty( + start_new: BoolProperty( name="Fresh Start", default=False, description="Start from no previous selection\n" diff --git a/mesh_extra_tools/mesh_select_tools/mesh_select_by_direction.py b/mesh_extra_tools/mesh_select_tools/mesh_select_by_direction.py index 799f6002..cf25cf6f 100644 --- a/mesh_extra_tools/mesh_select_tools/mesh_select_by_direction.py +++ b/mesh_extra_tools/mesh_select_tools/mesh_select_by_direction.py @@ -162,7 +162,7 @@ class Select_init(Operator): "defined by a vector with coordinates X, Y, Z") bl_options = {'REGISTER', 'UNDO'} - direction = FloatVectorProperty( + direction: FloatVectorProperty( name="Direction", description="Define a vector from the inputs axis X, Y, Z\n" "Used to define the normals direction", @@ -172,7 +172,7 @@ class Select_init(Operator): step=100, precision=2 ) - divergence = FloatProperty( + divergence: FloatProperty( name="Divergence", description="The number of degrees the selection may differ from the Vector\n" "(Input is converted to radians)", @@ -183,14 +183,14 @@ class Select_init(Operator): precision=2, subtype='ANGLE' ) - extend = BoolProperty( + extend: BoolProperty( name="Extend", description="Extend the current selection", default=False ) # The spaces we use spaces = (('LOC', 'Local', ''), ('GLO', 'Global', '')) - space = EnumProperty( + space: EnumProperty( items=spaces, name="Space", description="The space to interpret the directions in", diff --git a/mesh_extra_tools/mesh_select_tools/mesh_select_by_edge_length.py b/mesh_extra_tools/mesh_select_tools/mesh_select_by_edge_length.py index 3ae489d5..cea9976f 100644 --- a/mesh_extra_tools/mesh_select_tools/mesh_select_by_edge_length.py +++ b/mesh_extra_tools/mesh_select_tools/mesh_select_by_edge_length.py @@ -183,7 +183,7 @@ class Select_init(bpy.types.Operator): "Does not work in Vertex Select mode") bl_options = {'REGISTER', 'UNDO'} - edgeLength = FloatProperty( + edgeLength: FloatProperty( name="Edge length", description="The comparison scale in Blender units", default=1.0, @@ -196,18 +196,18 @@ class Select_init(bpy.types.Operator): sizes = (('SMALL', 'Smaller', "Select items smaller or equal the size setting"), ('BIG', 'Bigger', "Select items bigger or equal to the size setting"), ('EQUAL', 'Equal', "Select edges equal to the size setting")) - edgeSize = EnumProperty( + edgeSize: EnumProperty( items=sizes, name="Edge comparison", description="Choose the relation to set edge length", default='EQUAL' ) - extend = BoolProperty( + extend: BoolProperty( name="Extend", description="Extend the current selection", default=False ) - start_new = BoolProperty( + start_new: BoolProperty( name="Fresh Start", default=False, description="Start from no previous selection" @@ -215,7 +215,7 @@ class Select_init(bpy.types.Operator): # The spaces we use spaces = (('LOC', 'Local', "Use Local space"), ('GLO', 'Global', "Use Global Space")) - space = EnumProperty( + space: EnumProperty( items=spaces, name="Space", description="The space to interpret the directions in", diff --git a/mesh_extra_tools/mesh_select_tools/mesh_select_by_pi.py b/mesh_extra_tools/mesh_select_tools/mesh_select_by_pi.py index f002d0d1..cecf564c 100644 --- a/mesh_extra_tools/mesh_select_tools/mesh_select_by_pi.py +++ b/mesh_extra_tools/mesh_select_tools/mesh_select_by_pi.py @@ -164,22 +164,22 @@ class Select_init(Operator): "Number Pi (3.14 etc.) or e (2.71828 - Euler's number)") bl_options = {'REGISTER', 'UNDO'} - e = BoolProperty( + e: BoolProperty( name="Use e", description="Use e as the base of selection instead of pi", default=False ) - invert = BoolProperty( + invert: BoolProperty( name="Invert", description="Invert the selection result", default=False ) - extend = BoolProperty( + extend: BoolProperty( name="Extend", description="Extend the current selection", default=False ) - start_new = BoolProperty( + start_new: BoolProperty( name="Fresh Start", default=False, description="Start from no previous selection" diff --git a/mesh_extra_tools/mesh_select_tools/mesh_select_by_type.py b/mesh_extra_tools/mesh_select_tools/mesh_select_by_type.py index 534740a1..7afe80fe 100644 --- a/mesh_extra_tools/mesh_select_tools/mesh_select_by_type.py +++ b/mesh_extra_tools/mesh_select_tools/mesh_select_by_type.py @@ -32,14 +32,14 @@ class DATA_OP_facetype_select(Operator): bl_description = "Select all faces of a certain type" bl_options = {'REGISTER', 'UNDO'} - face_type = EnumProperty( + face_type: EnumProperty( name="Select faces:", items=(("3", "Triangles", "Faces made up of 3 vertices"), ("4", "Quads", "Faces made up of 4 vertices"), ("5", "Ngons", "Faces made up of 5 and more vertices")), default="5" ) - extend = BoolProperty( + extend: BoolProperty( name="Extend", description="Extend Selection", default=False diff --git a/mesh_extra_tools/mesh_select_tools/mesh_select_connected_faces.py b/mesh_extra_tools/mesh_select_tools/mesh_select_connected_faces.py index 1198f9ff..2c574f2d 100644 --- a/mesh_extra_tools/mesh_select_tools/mesh_select_connected_faces.py +++ b/mesh_extra_tools/mesh_select_tools/mesh_select_connected_faces.py @@ -107,14 +107,14 @@ class Select_init(Operator): bl_options = {'REGISTER', 'UNDO'} # Iterations - iterations = IntProperty( + iterations: IntProperty( name="Iterations", description="Run the selection the given number of times", default=1, min=0, max=300, soft_min=0, soft_max=100 ) - extend = BoolProperty( + extend: BoolProperty( name="Extend", description="Extend the current selection", default=False |