Tuesday, October 22, 2013

Thursday, March 21, 2013

Friday, February 1, 2013

Thursday, January 31, 2013

TDs to the rescue

If you've ever opened up maya and had reference errors and no animation in your scene, grab your keyable nodes and try this (in a python window). Mark's script and blog post can be found here:






 import maya.cmds as cmds
nodes=cmds.ls(sl=True,l=True) 
chns=[] 
  
#Change this to False if the curves are not in the rootNamespace but 
#in the sameNamespace as the controllers. 
stripNamespace=False
 
#build up the main lists 
animCurves=cmds.ls(type='animCurve',s=True) 
[chns.extend(cmds.listAnimatable(node)) for node in nodes]     
      
for chn in chns: 
    if stripNamespace: 
        animCurveExpected=chn.split(':')[-1].split('|')[-1].replace('.','_') 
    else: 
        animCurveExpected=chn.split('|')[-1].replace('.','_') 
    if animCurveExpected in animCurves: 
        if not cmds.isConnected('%s.output' % animCurveExpected,chn): 
            print '%s >> %s' % (animCurveExpected,chn) 
            cmds.connectAttr('%s.output' % animCurveExpected,chn,force=True)

Sunday, January 27, 2013

Always the student


Week four of the Animation mentor creature class. Loving it so far, and probably the biggest thing I'm getting out of it is remembering what it's like to be a student. I'm not sure if it will make me more or less sympathetic to MY students in reviewing their work. I put up my locking pass for a jump assignment I'm working on. I'll flesh this out later with the reference I used as well as some notes on what I've learned so far.

It really comes down to the basics - reference, observation and planning. And not much sleep.

video

Thursday, January 24, 2013