Maya scripts

 

I have written a few scripts for maya, some in Mel others in Python. I’ve mostly written them because I have needed them but I decided to put them here since somewhere someone might actually find them and use them. Crazy, right?

sjtButtons
sjtPresets
sjtNotes
sjtMatcher

 

sjtButtons v1.0

A small script that pops up a window with three buttons “Select button”, “Key button” and a “Close” button.

Select button
works in a similar way to Quick selection sets, it selects the objects you had selected when you created the button.

Key button
keys all the objects that you had selected when you created the button.

You simply select the objects you want to work with and then hit the button for the kind of shelf button you want. Then the script creates the corresponding button for you in the currently active shelf.

Download sjtButtons 1.0

 

sjtPresets v1.0

A script that allows you to store positions and attributes (the keyable, unlocked ones) of objects as a shelf button that allows you to recall them with one click.

Download sjtPresets 1.0

 

sjtNotes v1.0

sjtNotes is a supersimple script that simply allows you to have some notes inside your scene that are saved along with your scene file. The script is ridiculously simple and opens this window:

Then you type your notes and hit “Save & close” and then run the script again and edit those notes and again save and close. You get the drift …

Download sjtNotes 1.0

 

sjtMatcher v1.0

A script that includes a couple of commands that work in a similar way as XSI’s match translation toolset. You simple select an object and then select the object that should be moved around and then run one of the following commands:

sjtMatchT – match the translation of the selected objects.
sjtMatchO – match the orientation of the selected objects.
sjtMatchS – match the scale of the selected objects.
sjtMatchTO – match the translation and orientation of the selected objects.

You could then add these commands to a marking menu to make things happen quickly.

Download sjtMatcher 1.0

©2007, Sveinbjörn J. Tryggvason | RSS | Comments-RSS