mgear.rigbits.rbf_manager_ui¶
A tool to manage a number of rbf type nodes under a user defined setup(name)
- Steps -
- set Driver set Control for driver(optional, recommended) select attributes to driver RBF nodes Select Node to be driven in scene(Animation control, transform) Name newly created setup select attributes to be driven by the setup add any additional driven nodes position driver(via the control) position the driven node(s) select add pose
Add notes - Please ensure the driver node is NOT in the same position more than once. This will cause the RBFNode to fail while calculating. This can be fixed by deleting any two poses with the same input values.
Edit Notes - Edit a pose by selecting “pose #” in the table. (which recalls recorded pose) reposition any controls involved in the setup select “Edit Pose”
Delete notes - select desired “pose #” select “Delete Pose”
Mirror notes - setups/Controls will succefully mirror if they have had their inverseAttrs configured previously.
2.0 ——- LOOK into coloring the pose and how close it is import replace name support (will work through json manually) support live connections settings support for suffix, etc rename existing setup newScene callback
-
mgear.rigbits.rbf_manager_ui.
CTL_SUFFIX
¶ str – suffix for anim controls
-
mgear.rigbits.rbf_manager_ui.
DRIVEN_SUFFIX
¶ str – suffix for driven group nodes
-
mgear.rigbits.rbf_manager_ui.
EXTRA_MODULE_DICT
¶ str – name of the dict which holds additional modules
-
mgear.rigbits.rbf_manager_ui.
MGEAR_EXTRA_ENVIRON
¶ str – environment variable to query for paths
-
mgear.rigbits.rbf_manager_ui.
TOOL_NAME
¶ str – name of UI
-
mgear.rigbits.rbf_manager_ui.
TOOL_TITLE
¶ str – title as it appears in the ui
-
mgear.rigbits.rbf_manager_ui.
__version__
¶ float – UI version
- Deleted Attributes:
- RBF_MODULES (dict): of supported rbf modules
__author__ = “Rafael Villar” __email__ = “rav@ravrigs.com” __credits__ = [“Miquel Campos”, “Ingo Clemens”]
Functions
HLine () |
seporator line for widgets |
VLine () |
seporator line for widgets |
genericWarning (parent, warningText) |
generic prompt warning with the provided text |
getControlAttrWidget (nodeAttr[, label]) |
get a cmds.attrControlGrp wrapped in a qtWidget, still connected to the specified attr |
getEnvironModules () |
if there are any environment variables set that load additional modules for the UI, query and return dict |
getPlugAttrs (nodes[, attrType]) |
Get a list of attributes to display to the user |
promptAcceptance (parent, descriptionA, …) |
Warn user, asking for permission |
selectNode (name) |
Convenience function, to ensure no errors when selecting nodes in UI |
show ([dockable, newSceneCallBack]) |
To launch the ui and not get the same instance |
sortRBF (name[, rbfType]) |
Get node wrapped in RBFNode class based on the type of node |
testFunctions (*args) |
test function for connecting signals during debug |
Classes
ClickableLineEdit |
subclass to allow for clickable lineEdit, as a button |
RBFManagerUI ([parent, hideMenuBar, …]) |
A manager for creating, mirroring, importing/exporting poses created for RBF type nodes. |
RBFSetupInput (listValues[, setupField, parent]) |
Allow the user to select which attrs will drive the rbf nodes in a setup |
TabBar () |
Subclass to get a taller tab widget, for readability |