Breakdown
Download ml_breakdown.py
Revision | 4 |
---|---|
Last Update | 2018-05-13 |
License | MIT |
Description
Blend a keyframe or pose with the next or previous keys, essentially creating a breakdown pose that is weighted one way or the other.
Installation
Copy this file into your maya scripts directory, for example:
C:/Documents and Settings/user/My Documents/maya/scripts/ml_breakdown.py
Run the tool in a python shell or shelf button by importing the module, and then calling the primary function:
import ml_breakdown
ml_breakdown.ui()
Usage
Press the “Breakdown Dragger” button to enter the dragger, and the cursor will turn into a hand. Left-click and hold in the viewport, and then drag either left or right to weight the key to the next or previous key. Press and hold the middle mouse button to weight the key toward or away from the average of the surrounding keys. Alternately, set the slider to the desired weight, and press the Next, Previous or Average buttons to increment the breakdown. Right click the buttons to assign to hotkeys. If you have no keys selected, the tool will act only on curves that are visibile in the graph editor. If there are no keys at the current frame, keys will be set.
Installation
Copy this file into your maya scripts directory, for example: C:/Documents and Settings/user/My Documents/maya/scripts/ml_breakdown.py Run the tool in a python shell or shelf button by importing the module, and then calling the primary function: import ml_breakdown ml_breakdown.ui()
Requirements
This script requires the ml_utilities module, which can be downloaded here: https://raw.githubusercontent.com/morganloomis/ml_tools/master/ml_utilities.py
Video
http://www.youtube.com/watch?v=D8yD4zbHTP8
Ui
[Breakdown Dragger] : Drag in the viewport to weight a breakdown toward the next or previous frame. [«] : Weight toward the previous frame. [Average] : Weight toward the average of the next and previous frame. [»] : Weight toward the next frame.
UI Options
Drag in the viewport to weight a breakdown toward the next or previous frame. | Right-click to create a shelf or hotkey | |
---|---|---|
Weight toward the previous frame. | Right-click to create a shelf or hotkey | |
Weight toward the average of the next and previous frame. | Right-click to create a shelf or hotkey | |
Weight toward the next frame. | Right-click to create a shelf or hotkey |
Revision History
Revision | Date | Note |
---|---|---|
1 | 2015-05-13 | First publish. |
2 | 2015-05-13 | Documentation updates. |
3 | 2018-02-17 | Updating license to MIT. |
4 | 2018-05-13 | shelf support |