Control Utilities¶
artv2.utilities.control_utilities
| author: | Jeremy Ernst |
|---|---|
| description: | This module provides utilities for building and setting control shapes. There is a class that builds a simple interface that presents some of these features, like capturing/saving new control shapes, as well as editing the names of control shapes. |
Special thanks to Vasil Shotarov : https://bindpose.com/creating-maya-control-shape-manager/
-
class
ControlManagerUI(parent=None)[source]¶ This class provides a user interface with methods to store new control shapes and edit existing control shapes.
Functions:
Capture Control Shape()This allows you to create a new control shape in Maya, and then capture that data and save it to a text file for recreation later.View Saved Shape List()Opens a list widget that shows the shapes that have been saved to disk. You can also choose to preview them.Edit Shapes()Opens a list widget that allows you to rename or delete the shapes.
-
get_shape(crv=None)[source]¶ Returns a dictionary containing all the necessery information for rebuilding the passed in crv.
-
load_all_shapes()[source]¶ Loads all shapes into memory into a dictionary and returns that dictionary.