Here are many of my Maya melScripts I wanted to share. Fell use it and check the sources as well.
To download them you should right click and select Save target as.
-Nico |
adaptativeGeometryVertexSpread.mel |
Spreads a geometry at each vertices of a poly surface function to the mesh density. Artistic/experimental. |
bakeAnimation.mel |
Duplicates selected object(s) at its/their position in time each step frame. A kind of permanent ghost effect. |
createFileTexturesFromDirectory.mel |
Creates file texture node from directory's images. Helpful to load a large range of textures into a scene. |
drawAnimationCurve.mel |
Draws curves from animation translation data of selected object(s) |
drawParticleCurveScripts.mel |
4 scripts compilation. I've been playing around coding those scripts to help a CGtalk.com budy at creating curves from particle animation. A good problem solving exercice. Coders, I thought you coud be interested in these lines. |
hideShowSwitcher.mel |
Switch to hiden or show a object is not made easy in Maya. That's why you should create this shortcut (a hotkey) for it. |
importModelingReference.mel |
Imports a reference image file and place it over a plane in 3d view. Helps in speeding up workflow setup for modeling scenes. |
mapSpread.mel |
This melScript spreads randomly objects in 2D function to a texture map (has a photo taken from a plane). Design a B&W (works also with colors) texture the way you want to spread your object. For instance : a forest crossed by a river. |
massUVtransfert.mel |
Simply transfer the UVs of the first selected object to the rest of the selection |
pivotToCurveOrigin.mel |
Simple script that sets selected curves pivot to first/origin CV. |
randomMoveFromLocation.mel |
Script fragment that helps to noise an attribute values of several objects. |
randomSubSelect.mel |
Randomly selects a given percentage of objects into your current selection. Cool tool for randomizing object manipulations. |
randomVertices.mel |
Messes with selected vertices adding a random value to the initial vertex position. |
reduceWeirdNodesNames.mel |
Renames names like "myWeirdNodeName08" to "mWNN08" which helps when you have a scene with an high amount of weird names. |
sceneLightLinksTransfer.mel |
Helps to transfert light linking data from a scene to an other (light centric method) It writes a script to be run in the second scene then. The lights should have the same names. |
spreadObjectsOnSurface.mel |
Duplicates many objects randomly over a surface. |
uiBuilder.mel |
Useful coding helper. Writes melScript UI interface from function declaration string. No time wasted. Works in a workflow where you would separate cleary an UI and process/function (common case). |