characterDefenitionUI
=== Author: Assaf Ben Zur ===
This tool was created to assist users in creating humanIK character definitions.
Also, in conjunction with Block, create an animation puppet for predifined skeleton templates.
Use pre-existing prests, as well as create your own presets, to characterize any skeleton in seconds.
Many workflows and scenrios are covered within this tool, please refer to Mansur-Rig's You-Tube channel for a full video guide demonstratig all of them.
Classes
MnsCharacterDefenitionUI [Class]
Main UI Class
Constructor: MnsCharacterDefenitionUI(parent(str) ; [default: mnsUIUtils.get_maya_window()]) Inherits from: form_class, base_class Class Members:
Methods:
MnsCharacterDefenitionUI methods
addRowToTable [MnsCharacterDefenitionUI class method]
Add a new empty row trigger.
Constructor: | addRowToTable(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Clear cell trigger.
Constructor: | clearCell(self, position) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Connect all UI signals
Constructor: | connectSignals(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Create the predifined HIK context menu structure.
Constructor: | createHIKSlotsMenu(self, rootMenuItem, position) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Delete Row trigger.
Constructor: | clearRow(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Draw gathered data into the UI.
Constructor: | drawData(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Export preset to file trigger.
Constructor: | exportPreset(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Gather character definition data from UI into a python dict.
Constructor: | gatherCharDefData(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Get relevant namespace inpit based on mode.
mode 0 = Block name-space
mode 1 = Target name-space.
Constructor: | getNamespaceBasedOnMode(self, mode = 0) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Import preset from file trigger.
Constructor: | importFromFile(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Import preset trigger.
Constructor: | importPreset(self, kwargs) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Initialize UI Data.
Constructor: | initializeUI(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Initialize UI default display state.
Constructor: | initView(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Initialize existing Mansur-Rig presets that are delivered with the product and update the UI list.
Constructor: | initPresets(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Load scene selection to cell trigger.
Constructor: | loadSelectedToCell(self, position) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Load selected HIK slot into selected cell trigger.
Constructor: | loadHikSlotToSelectedCells(self, text, position) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Load selected namespace trigger.
Constructor: | loadNameSpace(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Main UI load
Constructor: | loadWindow(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Procedural menu items action linking to action.
Constructor: | linkHikMenuAction(self, menuItem, position) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Remove Row trigger.
Constructor: | removeRowFromTable(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Reset the UI to default state.
Constructor: | resetUI(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Right-Click/Context Menu open trigger.
Create a menu based on the right click position and column, and connect all actions to their related triggers.
Constructor: | editMenu(self, position) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Search trigger. Filter the main treeWidget list based on the input filter text.
Constructor: | filterView(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
TreeWidget Edit trigger
Constructor: | valueEdit(self, item, column) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Update the class member variables for both namespaces.
Constructor: | updateNameSpaceVars(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Update the current Maya scene selection based on the selected items in the UI.
In case the "update selection" checkbox isn't checked, this will not execute and selection will not be updated.
Constructor: | updateSceneSelectionBasedOnUIState(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
set the character name line-edit state base on the current UI state.
Constructor: | setNameBoxStateBasedOnMode(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Defenitions
loadCharacterDefenitionUI
Load the Charecter Definition UI from globals, avoid UI duplication.
Constructor: loadCharacterDefenitionUI() Return: None Arguments:
Keyword Arguments: