icon Breakdown

Download ml_breakdown.py

Revision 3
Last Update 2018-02-17
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()

License

Copyright 2018 Morgan Loomis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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.