diff options
Diffstat (limited to 'mesh_extra_tools/mesh_select_tools/mesh_select_connected_faces.py')
-rw-r--r-- | mesh_extra_tools/mesh_select_tools/mesh_select_connected_faces.py | 60 |
1 files changed, 24 insertions, 36 deletions
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 ff131f9c..1198f9ff 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 @@ -1,36 +1,23 @@ # Copyright (C) 2011, Dolf Veenvliet # Extrude a selection from a mesh multiple times -# ***** BEGIN GPL LICENSE BLOCK ***** +# ##### BEGIN GPL LICENSE BLOCK ##### # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details # -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA # -# ***** END GPL LICENCE BLOCK ***** - -''' - bl_info = { - "name": "Select connected faces", - "author": "Dolf Veenvliet", - "version": (1,), - "blender": (2, 56, 0), - "location": "View3D > Select", - "description": "Select all faces connected to the current selection", - "warning": "", - "wiki_url": "", - "tracker_url": "", - "category": "Mesh"} +# ##### END GPL LICENSE BLOCK ##### """ Usage: @@ -40,7 +27,7 @@ Additional links: Author Site: http://www.macouno.com e-mail: dolf {at} macouno {dot} com """ -''' + import bpy from bpy.types import Operator @@ -121,16 +108,17 @@ class Select_init(Operator): # Iterations iterations = IntProperty( - name="Iterations", - default=1, - min=0, max=300, - soft_min=0, soft_max=100 - ) + 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( - name="Extend", - description="Extend the current selection", - default=False - ) + name="Extend", + description="Extend the current selection", + default=False + ) @classmethod def poll(cls, context): |