Below you will find examples of some of my scripting work. I use Mel, Python and Pymel for automating redundant tasks.
Copy skinweights script:
Very useful for quickly copying not just the skincluster, but also for grabbing all influence joints, adding them to new geo skincluster, and THEN copying the skinweights over.
SkinCopy script can be downloaded here
I keep updating the final script and uploading it so make sure to check back if you have already downloaded this tutorial!
Autorig python module scripting:
Mouth rig tutorial:
A very easy beginners tutorial which involves placing joints, creating controllers and constraints.
Mouth Module Autorig can be downloaded here: http://sta.sh/01u1uauo89v0
Matrix math in Maya:
Download file from video here:
A very very very useful tool for creating constraints that are supposed to stick objects to a mesh, but without wierd rotations and other nastiness.
Check it out, you won’t regret it!
Follicle connect script can be downloaded here: Link
11 thoughts on “Scripting tutorials”
Pingback: Using Python in Maya to Create an Auto-Rig Tool - Lesterbanks
Thank you for the feature Lesterbanks.
Pingback: Python Scripting a Follicle Constraint Tool in Maya - Lesterbanks
Pingback: Scripting a Copy Skin Weights Tool With Python - Lesterbanks
For first…thank you so much!!You are creating great resources for all of us!!
I would like to ask you if is possible to extend the follicle script to a multiple selection of locators…a hint on where to start would be great!!
That is a good idea. I would put the locators in one list and run the script in a for loop for each element in that list.
\\\\A BIT RAW…BUT IT WORKS, JUST NEED TO SELECT GEO FIRST AND THAN THE LOCATORS\\\\\\\
allGeo = cmds.ls( sl=True )
geo = allGeo
locs = allGeo
for loc in locs:
Hi Bjorn, After copying the follicle script into my ‘scripts’ folder what command would I use to run it? Sorry for being such a dummy!
Hi, just run in Python directly or load it in with import pythonscriptname.py as follicleconnect and then run it like that.
It was only made to be run directly so there is no launcher.
Got it working. Awesome. Thanks so much!
Hey, the stash link for the follicle script doesn’t work. Could you update it? Thank you for your work! D.