This file contains hidden or 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
####### | |
#Help with building Facial Rig User interface secondary movers | |
#By | |
#Nathaniel O. Anozie (ogbonnawork at gmail dot com) | |
# | |
#Inspired by Matt Estella (tokeru dot com) -- learning about constraint methods from his online tutorials | |
#Inspired by Hamish Mckenzie (macaronikazoo dot com) -- learning about zip for loops from his online tutorials | |
#Inspired by Chris Hickman -- i was inspired by his facial rigging work and online tutorials | |
# | |
# |
This file contains hidden or 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
//na_setDisplayTypeOnSelected.mel -- please remove extension .cpp used for syntax highlighting only | |
//Author: Nathaniel Anozie | |
//ogbonnawork at gmail dot com | |
//Modify at own risk | |
//Inspired by: | |
//Jason Schleifer's Animator friendly rigging (jasonschleifer dot com) first learning about lockNode | |
//Kiryha Krysko (kiryha dot blogspot dot com) learning about lockNode from online tutorials | |
//last updated -- 09-20-2015 fixed overide detail bug when using for 2015 maya | |
//last updated -- 01-13-2015 |
This file contains hidden or 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
####### | |
#help with building face ui of blendshape based rig | |
#By | |
#Nathaniel O. Anozie (ogbonnawork at gmail dot com) | |
# | |
#inspired by: Phil Sloggett's online tutorials for learning about set driven keys in python | |
#inspired by: Autodesk online documentation examples on promptDialog | |
####### | |
#created: 12-26-2014 initial release |
This file contains hidden or 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
##@file cutGeo.py | |
#splits geo ex: arm or leg using selected transforms | |
## | |
## | |
#@author Nathaniel Anozie | |
#ogbonnawork at gmail.com | |
# | |
#Modify at your own risk | |
# |
This file contains hidden or 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
//select all cluster in all selected roots | |
//Author: Nathaniel Anozie (ogbonnawork at gmail dot com) | |
//nathananozie dot blogspot dot com | |
global proc na_selectClusterOfHierarchy(){ | |
string $result[] = {}; | |
string $sel[] = `ls -sl`; | |
for($arg in $sel){ | |
string $past[] = {}; | |
$past =`listConnections $arg`; | |
string $hist[] = `ls -type cluster $past`;//cluster history |
This file contains hidden or 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
//create ik sc use selected root, assumes has child | |
//inspired by Anop A.K (codecg dot com) learning about iksc drawing in mel | |
string $sel[] = `ls -sl`; | |
if(size($sel) == 1){ | |
string $root = $sel[0]; | |
select -r $root; | |
string $check[] =`listRelatives -children -type joint $root`; | |
if(size($check) != 1){ error("Error Nothing to Draw IK SC with, check end"); } |
This file contains hidden or 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
##@file camNode.py | |
# | |
#Track start and end frames and a transform in Maya(Tested Maya 2008) | |
# | |
#@author Nathaniel Anozie | |
# | |
# | |
#@note Inspired by Maya's api tutorials and examples on sineNode.py and lambertShader.cpp | |
# | |
## |
This file contains hidden or 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
#!/usr/bin/python | |
#@author Nathaniel Anozie | |
# | |
## | |
#Inspired by Greg Hewgil's online tutorial on sorting files by creation time | |
#last updated: 07/28/2013 -- initial release | |
import getopt,sys |
This file contains hidden or 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
/**@file naTangentTypeCmd.cpp | |
@brief v1.0.0 naTangentTypeCmd -step; //make all the selected animation curves' keys stepped or smoothed -smooth | |
@author Nathaniel O. Anozie (ogbonnawork at gmail dot com) | |
@note modify at your own risk | |
*/ | |
//Flags: | |
// | |
// -step <string>: whether to use step tangent | |
// |
This file contains hidden or 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
##@file reference.py | |
# | |
#(Tested Maya 2008) | |
# | |
#@author Nathaniel Anozie | |
# | |
#@note Inpired By Bryan Ewert (xyz2 dot net) for learning about deferred reference node and load state | |
# | |
# | |
## |