This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//--------------------------------------------------------------------------------- | |
// Source: https://www.highend3d.com/maya/script/align-pivot-to-selection-mel-for-maya | |
// alignPivotToSelection Tool for Maya 2010, 2011 & 2012 | |
// Author: Daniel Brkovic | |
// Thanks to: Tom Ferstl | |
// Date: 10-12-2011 | |
// | |
// Description: | |
// You can align the pivot along a selected normal which can be defined by vertices, edges or a face. | |
// Commands: |