Simon’s Cat

Posted by admin on July 29th, 2009

If you have a cat or just love great animation , you are sure to enjoy this.

Dominance War

Posted by admin on July 2nd, 2009

There is nothing like a good competition to get the creative juices flowing. The “Dominance War” is a high end modeling competition that inspires 3D artists to produce a stunning array of eye candy that will keep a 3D art junky like myself satisfied for hours. Drop by the site and check out the top 25.

CVs’ on a NURBS curve

Posted by admin on July 1st, 2009

I know you are just thrilled by the title of this post right? Well if you aren’t then you are probably not a technical artist, because for a geek like me this is hot stuff. I have been doing a lot of Python scripting in Maya the past few months and I think it is time I start sharing some of the neat things I come across. So here I go with what I hope to be a series of cool commands to make your life with Maya more enjoyable.
As of Late I found myself needing to make a list of all the Cvs’ on a nurbs curve. This can be a handy trick if you are trying to record the shape of a curve, or if you simply need to perform some function at a component level. In this example I wanted to make a list of the cvs’ so I could create a cluster on each one. You need to select a curve before running the script.

import maya.cmds as cmds
import maya.mel as mel

mopathCurve=cmds.ls(sl=True)

print mopathCurve
for pathCurve in mopathCurve:

cmds.select (pathCurve+’.cv[*]‘)
pathCvs=cmds.ls(sl=True, fl=True)
for cv in pathCvs:

print cv
cmds.cluster(cv)


Copyright © 2010 Griffin's Nest. Free antivirus downloads.