Wednesday, 21 September 2011

Python : reName selected objects in mobu

from pyfbsdk import*
lModelList = FBModelList()
FBGetSelectedModels( lModelList )
lcropL= 1
lcropR= 1
#lPatten=""
#lNewName=""
if len( lModelList ) == 0:
    FBMessageBox( "Message", "Nothing selected", "OK", None, None )
else:
    modifiedmodels = []
    for model in lModelList:
        print model.Name[lcropL:-lcropR]
        #model.Name = model.Name[lcropL:]
        #model.Name = model.Name[:-lcropR]
        #model.Name = model.Name.replace( lPatten, lNewName )

Monday, 19 September 2011

AnimSchool_week10_iBeam

I really took long time to spline and polish this assignment.
It is hard to make good timing!
Because limit of time I cut out some of pose.
And really Thank you teachers in AnimSchool.

AnimSchool_week6_RunningAndJump

I have done the final polish version.
but I forgot the zone time is off.
so I couldn't make it on time.
just 17 mins :(
but anyway here you go.

AnimSchool_Week3_Digging


Sunday, 31 July 2011

Maya Mel


pose-2-shelf
This script will let you do two things that are extremely simple, but insanely useful for animators that are posing and setting a lot of keys on characters, as well as animators who are doing a lot of anim transfer onto characters:
It has a single super simple UI that lets you:
1. Save and label the setAttr (pose) commands for all keyable attributes of all selected nodes to your shelf, with the push of a single button!
2. Save and label your current selection set to the shelf with the push of a single button.
This script uses the "catch" command, so in case you re-name some nodes, the nodes that still exist will still get affected. This script is a solid replacement for recordPose and savePose; it is faster to use, and requires no copy/paste from the script editor. It still prints the commands into the output window, though, just incase this is useful to you. enjoy!

dkAnim.mel is for Importing or Exporting animation channels in Maya. dkAnim has many advantages over Maya's import/export .anim plugin, read dkAnim.txt or the header of dkAnim.mel for more information.

This script was written a long time ago, actually surprised it's still useful.. guess that's either a testament to mel or a hit against Maya for not making this process easier out of the box.

Wednesday, 9 March 2011

Animschool pre-meeting

I am so excited after finished this meeting. Teacher there are good people! I could understand 90% when teacher speaking in English.
The Facial expressions is mazing. I can't wait to learn how to do it and animate it.

Looking forward!