Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
I wrote this script to quickly find high-valence vertices, or "poles" (extra-ordinary vertices shared between more than 5 edges), on a mesh. It makes the poles easy to spot by assigning a bright red shader around the surrounding faces.
Note: The script is currently "hard-coded" to look for poles with ">5 edges" (i.e. 6 or more), which are usually the ones that cause problems in topology. Eventually, I could create a customizable setting to search for specific types of poles. Do give me feedback on this. Thanks!
Installation: 1. Copy this script into your maya/scripts directory 2. Drag and drop this command to your shelf:
import lsFindPoles as lsFP lsFP.lsFindPoles()
3. Select "Python" to create your shelf button
How to use: 1. Select any number of mesh objects 2. (Optional but highly recommended) Delete history 3. Click shelf button to execute script
Please let me know if you've found the script helpful. Comments, suggestions and critique are welcome. Thanks!