Showing posts with label python. Show all posts
Showing posts with label python. Show all posts

Saturday, April 3, 2010

Frame Checker 2.0

This is the first of my Maya independent python scripts. After authoring a few tools that would really be best suited for use independent of Maya I learned Qt and used py2exe to create a standalone version of the frame checker. I had originally written Frame Checker in python anyway, so I literally just recreated the ui in Qt Designer and then setup the signal connections. Using Qt for the first time, I found that signals and slots are a lot like events and listeners in as3, so it was a piece of cake to get used to, not that Qt is really tough to wrap your brain around in the first place. PyQt4 and Qt Designer were really awesome to use, and I'm sure this won't be the last of the tools that I port to Maya-independent-land.

You may notice that the GUI now looks Nuke/Maya 2011-esque and that's because I went with the 'plastique' style. I like dark colors, as you probably can tell, and the other available styles didn't seem to handle the dark colors as well. Another added bonus is that the .ui files that I created with designer will be ready for use in Maya 2011, can't wait for that 8).

Still gotta get together a unified location for tool docs, but I'll get to that later. Expect the batch file generator some time in the near future though... For now you can grab the new frame checker at www.bohdon.com/scripts
To use it just unzip somewhere and run the exe.

Saturday, February 27, 2010

Frame Checker

I had a util in previous versions of boUtilities that found missing images in a sequence. Super helpful! except it only worked with 4 frame padding and a strict image.#.ext format. So I've updated boUtilities and provided a much more flexible python version of the frame checker. The new version allows automatic or controlled frame ranges and padding. It works with a much wider range of sequence naming formats and provides some useful output such as frame range summaries on both found and missing files. It was a fun lesson in more advanced reg exps (like using lookahead assertions), and there are still ways it can be improved, but for now... feel free to grab!

bohdon.com/scripts/boUtilities.mel (2.3)
bohdon.com/scripts/boFrameChecker.py