Maya Scripts
- Preface
-
Below are annotations from many of my MEL and Python Maya scripts.
- Display
-
- Joint Count HUD: Toggle the display of joint count
- Particle Count HUD: Toggle the display of particle count
- Mesh Effeciency HUD: Toggle the display of mesh effeciency
- Toggle Isolate Select: Toggle isolated view of selection
- Toggle Lighting: Toggle display of scene lighting and vertex colors
- Toggle Playback Speed: Toggle between Real-time and Every Frame playback
- Cycle Move Tool Mode: Cycle movement modes of Move Tool
- Cycle Rotate Tool Mode: Cycle rotation modes of Rotate Tool
- Animation
-
- Force Origin Toggle: Translate X, Y and Z
- Set Force Origin Control: Set selected object as force origin control
- Reset IK: Reset translation of selected IK control(s)
- Reset IK: Reset rotation of selected IK control(s)
- Reset IK: Reset translation and rotation of selected IK control(s)
- Smooth Tangent Out: Out tangent matches linear in tangent for selected keyframe(s)
- Smooth Tangent In: In tangent matches linear out tangent for selected keyframe(s)
- Flip Curve: Flip selected curve(s) over value at current time
- Flip Curve: Mirror selected curve(s) over zero value
- Reverse Curve: Reverse selected curve(s)
- Loop Curve: Adjust start keyframes and tangents of selected curves to loop with end
- Loop Curve: Adjust end keyframes and tangents of selected curves to loop with start
- Auto Loop Curve: Auto-adjust start keyframes and tangents of selected curves to loop with end
- Auto Loop Curve: Auto-adjust end keyframes and tangents of selected curves to loop with start
- Disable Auto Loop: Disable auto loop for selected curves
- Toggle Infinity Cycle: Toggle infinite cycle with offset for curves on selected object(s)
- Copy Pose: Select objects whose attributes you wish to copy
- Paste Pose: sets object attributes to previously copied pose
- Mirror Pose: Select objects whose attributes you wish to mirror
- Pose Rack: Save and remove poses
- Key Transfer: Copy animation keys for selected curve(s) to other files
- Dynamics
-
- Loop Dynamics: Sets intial state of dynamics to loop with state at timeline end
- Rest Dynamics: Rest the initial state of dynamics at current time in animation.
- Modeling
-
- Select Faces: Selects faces of specified normal directions on selected object(s)
- Attach Object: Select target objects followed by object to be duplicated and moved
- Poly Noise: Select polygon components to randomly translate
- UV Noise: Select polygon UVs to randomly move
- Random Transform: Select transform objects to apply random translation, rotation, and or scale to
- Rigging
-
- Character Rigger: Tool to hasten character setup process
- Lock Attributes: Select object(s) to lock attributes
- Unlock Attributes: Select object(s) to unlock attributes
- Space Bind Setup: Select one target followed by the object to bind
- Reset IK Setup: Select one parent followed by IK control
- Spring Joint: Select a joint to apply spring to
- Delete Non-Skin History: Select a skinned polygon mesh
- Manage Scene
-
- Color Wire: Color the wireframe of objects
- Ordered Rename: Renames objects in order of selection
- Suffix Hierarchy Names: Add a suffix to all hierarchy names
- Rename Materials: Rename selected materials from color-linked texture files
- Adjust Materials: Sets material properties for specified materials
- Strip Meshes: removes meshes from 'root' group or selected hierarchies
- Setup Root: creates 'root' group for selected objects and adds 'cofm' and 'aPvt' joints
- Fix Referenced Space Bind: Fixes scriptJob of referenced files using Space Bind
- Import References: Imports and removes namespace of reference file
- Render Screenshot: renders screenshot of current scene to its directory
- Selection
-
- PickWalkAdd Up: Add up heirarchy to selection
- PickWalkAdd Down: Add down heirarchy to selection
- PickWalkAdd Left: Add left heirarchy to selection
- PickWalkAdd Right: Add right heirarchy to selection
|