mnsSpacesTool
=== Author: Assaf Ben Zur ===
This simple animation tool was created to allow animators to space switch and IK->FK switch easily.
This tool is selection based. Please select controls to enable relevant capabilities.
For spaces, simply select the controls you want to act upon, choose your target spaces, and press "switch". This will switch the space, while maintaining the controls's transforms, using keys created automatically.
For Limbs, simple select any control/s for the limbs that you wish to act upon, and press the relevant button- To-IK or To-FK.
This will switch the limb/controls to the selected state.
This tool also includes Auto-Key switches, as well as a sequence and bake modes.
Classes
MnsSpacesTool [Class]
Spaces Tool UI Class.
Constructor: | MnsSpacesTool(parent(str) ; [default: mnsUIUtils.get_maya_window()]) |
Inherits from: | form_class, base_class |
Class Members: |
|
Methods: |
|
MnsSpacesTool methods
connectSignals [MnsSpacesTool class method]
Connect all UI Signals.
Constructor: | connectSignals(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
eventFilter [MnsSpacesTool class method]
Override event filter to catch the close trigger to delete the callback
Constructor: | eventFilter(self, source, event) |
Return: | None |
Arguments: |
|
Optional Arguments: |
fkIKSwitch [MnsSpacesTool class method]
mode 0 - Match FK to IK
mode 1 - Match IK to FK
Constructor: | fkIKSwitch(self, mode = 0) |
Return: | None |
Arguments: |
|
Optional Arguments: |
getFramesListFromUIState [MnsSpacesTool class method]
Constructor: | getFramesListFromUIState(self, hostCtrl = None, attrName = "") |
Return: | None |
Arguments: |
|
Optional Arguments: |
getSpaceEnumIndexByName [MnsSpacesTool class method]
Constructor: | getSpaceEnumIndexByName(self, node, attr, targetSpaceName) |
Return: | None |
Arguments: |
|
Optional Arguments: |
initializeView [MnsSpacesTool class method]
Constructor: | initializeView(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
insertCallbacks [MnsSpacesTool class method]
Constructor: | insertCallbacks(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
loadWindow [MnsSpacesTool class method]
Show window method.
Constructor: | loadWindow(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
removeCallbacks [MnsSpacesTool class method]
Constructor: | removeCallbacks(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
sceneSelectionChanged [MnsSpacesTool class method]
Constructor: | sceneSelectionChanged(self, dummy = None) |
Return: | None |
Arguments: |
|
Optional Arguments: |
selectIKFKHost [MnsSpacesTool class method]
Constructor: | selectIKFKHost(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
setAutoKeyMode [MnsSpacesTool class method]
Constructor: | setAutoKeyMode(self, state) |
Return: | None |
Arguments: |
|
Optional Arguments: |
setAvailbleLimbs [MnsSpacesTool class method]
Constructor: | setAvailbleLimbs(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
setAvailbleSpaces [MnsSpacesTool class method]
Constructor: | setAvailbleSpaces(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
setIKFKView [MnsSpacesTool class method]
Constructor: | setIKFKView(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
setSequenceMode [MnsSpacesTool class method]
Constructor: | setSequenceMode(self, state) |
Return: | None |
Arguments: |
|
Optional Arguments: |
setSequenceRange [MnsSpacesTool class method]
Constructor: | setSequenceRange(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
setSpacesMode [MnsSpacesTool class method]
Constructor: | setSpacesMode(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
setSpacesView [MnsSpacesTool class method]
Constructor: | setSpacesView(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
spaceSwitch [MnsSpacesTool class method]
Constructor: | spaceSwitch(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Defenitions
loadSpacesTool
Load the Def Serach UI from globals, avoid UI duplication.
Constructor: | loadSpacesTool() |
Return: | None |
Arguments: | |
Keyword Arguments: |