Author Archives: chris

ngSkinTools: One of my favorite tools for Maya

If you have ever had to paint weights in Maya you know how big of a waste of time it can be. Up until recently I used the native tools (paint weights) inside of Maya for this task, then I discovered ngSkinTools. I was absolutely amazed at how fast the workflow is as well as forgiving. Being able to paint your weights in layers like photoshop then mask them out or adjust the overall strength of them while completely avoiding the component editor is nothing short of amazing. If you have to weight a rig on an upcoming project, I cant recommend this tool enough.

http://www.ngskintools.com/

For a really good intro and walk through on some of the main features of the tool, head over to Rigging Dojo’s Rigging Dojo AIR subscription excerpt: Easy skinning page to see the tool in action.

Thoughts on PySide

I have been experimenting with PySide within Maya 2014 for the past couple months and I have to say its been pretty easy to pick up after knowing some PyQt. It has virtually identical commands as PyQt and since it can load user interfaces from Qt Designer, there really isn’t a recent not to use it when coding in Python. I have to give credit to Nathan Horne though as without his guide I would have been thoroughly stuck on trying to figure out how to load the interface as it definitely is not as easy as it could be.

Jump down to where it says “How to load a designer file”
http://nathanhorne.com/?p=451

Some code snippets for common tasks

Get the username of the active account logged in:

import getpass
currentUser = getpass.getuser()
print currentUser
'chris'

Get information about the operating system:

import platform
print platform.system()
'Windows'

print platform.release()
'XP'

print platform.version()
'5.1.2600'

Create a folder with error checking:

import os
try:
	os.makedirs('c:/test')
except Exception as err:
	print err

Check if a file or folder exists:

import os
print os.path.exists("C:/test/")
'False'

New site layout

Currently updating the site layout and adding a development blog of some tools for various programs. Just as a fyi, all of the Lscripts are now located under Lightwave.