andrewherd.me

Technical Artist

Tag: python

Maya reloading python modules

While working on a new tool inside of Maya, it gets very annoying to have to continually reload the python module or close out Maya and reload it every time you want to see a change to it.  At least I do. Especially when Maya is loaded down with all kinds of other tool bars/scripts/etc […]

Mosaic Render Program

          I’ve completed everything I set out to do for my mosaic render program. Now that it’s officially done, I can begin working on some of the other features I’ve thought of while building it. This was written in python with PyQt4, sqlite3, pil. I’m happy with the initial work on […]

VLC Capture Tool

While working on my Mosaic Image Generator, I realized I was going to need to generate a few thousand images. No better place to get images then from a video source. Now there are a few programs out there that will do this, but they wanted my money. VLC is free and comes with command […]

PyQt4 Class Inheritance

There are a few ways for PyQt4 to be inherited by the class that is being constructed and until recently I hadn’t noticed any different between one method over the other.

Python RLE Encoding

While working through one of the various planning stages of a new section of one of my projects, I realized that I was going to have a lot of integers on hand that repeated frequently. I know I’m going to need these lists at a later time, so my two options is to save it […]

Autosave for Photoshop

  Photoshop is one of those programs that likes to crash frequently. In fact the more important the current image you are working on, the greater the chance of Photoshop crashing. There is also a greater chance of you failing to remember to save your file sometime in the last three or four hours. Wouldn’t […]

Open my Location

I’ve found that whatever scene I have open in Maya, I need it’s folder open as well for some reason or another. Here’s a dumb script to open up the first file path it finds inside of the Maya file, which generally should be the path where the file is located. import maya.cmds as mc […]