QoL scripts

transferUVs

One of the earliest scripts I wrote, that allows you to transfer UVs from one object to multiple other objects. Because, of course, transferring UVs only worked between two objects. 

Download the script. 

addRemapRamp

One of the ways to reuse a file texture map in Maya is to attach a remap ramp to it. The problem with the button in file nodes in Maya that creates the remap ramp is that it will only allow you to create one remap ramp attachment. I got fed up with that "feature", so I wrote a simple script that would add a remap ramp to any selected node. This let me speed up my workflow and also let me easily add more than one ramp to a file, which I often did.

Download the script.

makeRelative

After losing the relative paths to my file textures multiple times, I decided to write a for-loop that went through all of my file nodes and pointed them back to sourceimages. I ended up adding a UI so that I could input a custom folder, just in case I ever needed them to point to a folder other than sourceimages. 

Download the script.

movePivots

Move the pivots of multiple objects relative to each of their bounding boxes, rather than snapping all of them to a specific point.  

Download the script.