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
import maya.cmds as cmds | |
import pymel.core as pymel | |
def create_pivot_bone(): | |
""" | |
Create a bone from the customPivot context | |
In component mode of a mesh: | |
Press "D" or "Insert" to go into custom pivot context | |
If you click on edges verts or faces the pivot will auto align |