I got an email a month or so ago asking me how I was using Numpy within Maya. Since then I’ve gotten quite a few hits on my site usually with the term “numpy maya python” or something of the sort. Soooo instead of continuing to let people bounce out when they don’t find the information, I’m going to go through how you get it to work. You’ll actually be amazed at how easy it is – 1 file, 3 lines. I won’t go through how to do the install for the entirety, but we will touch on some things. This will be fairly specific to the 64-bit version of Python and Maya, so some things are omitted, but they should be easy to figure out (really the instructions are the exact same, except you may have an .egg file if you’re using 32-bit – I don’t know because I don’t run 32-bit anything).
Let’s start with windows. If you’re using 32-bit Maya, simply go and download Numpy from scipy.org. If you’re using 64-bit Maya, you’ll need to download it from Christoph Gohlke’s repository of awesomeness here. There’s tons of stuff, all we want is the “numpy-1.5.1.win-amd64-py2.6.exe” file there. Run the installer. Whammo… It doesn’t work in Maya. We’ll get back to that.
Continue Reading…
So after going to sleep thinking that my previous python solution was nice, I laid awake for several hours trying to shut my brain off for the night and pondering all the things I usually ponder: Rigging, Scripting, Python, Cool things to write, Random Ideas, etc. This is actually part of my normal routine, because I’ve had the problem of shutting off at night since I was about 8. So after thinking of everything I decided that my last post was incomplete. Yes it was a solution, but was it the best solution? No of course not. There’s always going to be a better way to do things and I’m always looking for those ways. So what I decided to do today was rewrite the script so that it output an actual usable python file that you could simply copy and paste into your own curve creator ui or what have you. I’m not going to go over building said ui (yet), but I will go through using this script in your own projects. Continue Reading…
The title of this post is so much cooler than the title of my script. I should totally rename it. LoL.
Alright. So here’s the deal. 0.2 was rough. 0.3 fixed some issues for windows. 0.4 has been tested concurrently on OSX and Windows so I know there aren’t any bugs – at least none that are apparent. You can grab the new version at CreativeCrash: File Folder Watcher Continue Reading…