Python and Mel Programming

MEL script to regenerate texture swatches - update_swatches.mel

Automatically updates all the texture swatches in a Maya scene, instead of manually
clicking on each swatch icon in the attribute editor. Useful if your source control excludes
Maya swatches or you inherit a large scene with no swatch icons.
https://app.box.com/s/rvl8d2knodx93xu554h4g0bq8vrph0cr

Python Script to generate single atlas texture - atlas_texture.py



Written to speed up atlas texture creation which in turn hopefully speeds up rendering.
Use it in conjunction with it's partner script atlas_uv.mel below.
https://app.box.com/s/5hdvxa5pxq51nscgut0plqzjl0y3otau

Mel Script to generate single UV texture atlas - atlas_uv.mel



Big time saver when combining multiple objects using unique images into one fast atlas texture.
Use it in conjunction with it's partner script atlas_texture.py above. (Tested on Maya 2018.2).
https://app.box.com/s/kued6a8efhqml6h6ustqzmg5aemschl7
Python script to batch rename file extensions - file_extension_rename.py

Written to stop incorrectly named image files crashing Windows File Explorers (tested on Windows 10 using Python 3.7 64 bit).
https://app.box.com/s/dawfuzjz9cb5y9i41fe2g2vixbf07i3f

Python Script to resize images - image_resize.py

Written to scale down hundreds of 4k movie textures to get them workings in
real time on a PC. Faster and better image quality than using Photoshops batch
convert (tested on Windows 10 using Python 3.7 64 bit and requires Pillow library).
https://app.box.com/s/otwb6zh24nr8r699s1qvm5u0onbgvv5p

Mel Script to merge multiple UV sets on single meshes - uv_map_merge.mel

Written to fix TV show assets with hundreds of UV sets on a single mesh which our
game engine didn't like (tested on Maya 2018.2)
https://app.box.com/s/wnz6gu8roi786upncisjrro1qhsaloxb

Mirror Man Mel Script - mirrorManGui.mel



Nice little program that will speed up your workflow if you are modeling symmetrical objects day in day out.
https://app.box.com/s/goh049xiyniaty3eawqheca3vsqlnao4

Python A* Pathfinding Implementation - A_star.py

Very handy script and why write your own if some mug has already done it. (Requires Python 2.xx).
https://app.box.com/shared/lcrmp5kjsn

Python Sprite Sheet Scripts

A collection of three small scripts that help turn a series of sprites into one sprite sheet. (Requires Python 3.xx and PIL).
https://www.box.com/s/fdmy6taaad7p2tcy2vby