Skip to content

Instantly share code, notes, and snippets.

@jm991
jm991 / alignPivotToSelection.mel.c
Last active March 11, 2023 09:52
You can align the pivot along a selected normal which can be defined by vertices, edges or a face.
//---------------------------------------------------------------------------------
// 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: