Wednesday, June 05, 2013

Some free python goodness. . .

Some some of the stuff I mentioned in the last video post about using Python. There's some very cool stuff out there to check out if you have the cajones to try to pull them apart a bit. Kudos to all these guys for making awesome stuff, THEN making it available to us all for free (for the most part)!

Hamish McKenzie - Zoo tools - I've mentioned him a bunch of times. Really great stuff in terms  of tools and also on the blog. http://www.macaronikazoo.com/

CG Monks - Awesome toolset! http://www.cgmonks.com/

Mark Jackson - Red9 Tools - Holy moly! That's some heavy duty scripting stuff he's giving away! http://red9-consultancy.blogspot.com/

Morgan Loomishttp://morganloomis.com/downloads/

Michael Comethttp://www.comet-cartoons.com/

Brendan Ross   - http://www.supercrumbly.com/latest.php

Some Python in Maya basics

I've been working a ton lately, so sorry for the lack of posts. Some day I'll figure out how to do smaller things a little more regularly.

Annnyyyywayyys . . . On the last job I was on (and in a rigging class I taught recently), I was demo-ing some little scripts I'd written and realized that I'd forgotten how confusing it can be to run python stuff in Maya if you don't have any experience doing it or know why things are done the way they are. In fact, I recall being able to put together a fairly competent script in python (cuz I knew a bunch of MEL already) and actually not knowing how to run it in maya! So I would just copy and paste the whole thing to the script editor each time or make a button out of the whole code. . . until I was like "What the hell am I doing? Figure this out!". Turns out it wasn't too hard, but it can be a bit confusing sometimes, certainly at the beginning and so I made a couple of quick videos walking through a few things you might want to know about how (and occasionally why) you do things in Maya with Python. Absolutely nothing fancy or tricky here, just the basics for those of you who haven't quite wrapped your heads around it.

Two videos: the first one is the really basic stuff (importing a module and running a function from it) and the second goes into a few other areas that are a bit more advanced (reloading scripts, what those .pyc files are and how they can trip you up sometimes, messing with the python path [sys.path] to load files from other folders, setting up a package in python and so on).
BTW, I've done a dump of some scripts onto the Downloads page above ^, and I'll do a quick video walkthrough of them in short order


Maya/Python: The basics of using python scripts in Maya (Pt 1) from zeth willie on Vimeo.


Maya/Python: The basics of using python scripts in Maya (Pt 2) from zeth willie on Vimeo.

Some links I like . . .

Just some quick things that I thought were cool and worth checking out if you're interested in the kind of stuff I generally post here. . . .


Marco Giordano has been cranking out some sweet tutorials on Maya using math-y stuff. This one caught my eye: https://vimeo.com/66262994
Great stuff! He does the pole vector in essentially the same way I do, but he goes the extra mile and orients it. Which is sweet. You should check out some of his others too. I especially liked the one about using a cone to drive pose space correctives: https://vimeo.com/64958089

Charles Looker going over some math stuff, which is always cool in the context of 3D: http://charleslooker.wordpress.com/2013/05/21/maths-101-back-to-basics-matrices/

Danny Williams. His stuff is always nasty. Here's some artwork via Flooby Nooby: http://floobynooby.blogspot.com/2013/05/the-art-of-danny-williams.html
Here's some modeling stuff. Really? Modeling like that from a 3/4 view? https://vimeo.com/59582056
His blog: http://www.pointpusher.com/

I generally don't aggregate much here (read: churn other people's stuff) mostly cuz I feel like there're enough places around that do it better, more often, etc (like Lester Banks, etc), but once in a while is okay, right?