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 pymel.core as pm | |
''' | |
An Autodesk Maya PyMEL script that calculates a pole vector position | |
based on 3 input PyNode objects. example: leg, knee, ankle bones. | |
Chris Lesage chris@rigmarolestudio.com | |
''' | |
def calculate_pole_vector(p1, p2, p3, poleDistance=1): | |
""" |
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.OpenMaya as OpenMaya | |
import pymel.core as pm | |
import maya.OpenMayaAnim as OpenMayaAnim | |
import maya.cmds as cmds | |
import maya.mel as mel | |
class checkMaxSkinInfluences(object): | |
''' This script takes a mesh with a skinCluster and checks it for N skin weights. | |
If it has more than N, it selects the verts, so you can edit them. |
OlderNewer