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.
This is a poly component alignment tool. it will force selected polygon components to the bounding Box. You choose X, Y, or Z and min or max bounding box, or zero X,Y or Z. It will also move the pivot of the selected transform tool (move, rotate, scale) to the bounding box min, max or zero in X,Y or Z.
This tool has custom and easiy to read UI.
Put script in "user/my docs/maya/6.0/scripts/" and icons (indexed BMPs) in "user/my docs/maya/6.0/prefs/icons/" The CATIcon.bmp is an icon you can use on your shelf for this tool.
After sourcing this script in the Script Editor you should be able to type in: catTools; and run the UI just fine.
As an aside.... the indexed BMPs are much smaller than their XPM counter-parts.
!!! This only works on Polygons and SubDs (in Polygon Mode) in their component modes. These tools do not work in object mode or on NURBS at all. !!!
This is untested on earlier versions of Maya... though I have no reason to think it won't work.
I hope you like it. E-mail if you have any bugs or questions.