Rigs
The rigs module has a base class called RigBase
- class rig.rigBase.BaseModel(*args, **kwargs)
- class rig.rigBase.RigBase(*args, **kwargs)
Base rig is the base class to be used on any rig. it contains an instance of the main classes that will be used when creating a rig. The members that contains the Base rig are the following. name_convention, an instance of the nameConvention class used to rename all elements on the rig. rig_system a class that contains the maya hierarchical structure used as base for all the systems rig_creators the functions used to create all kind of nodes on maya trough an interface that it is easy to use and standard.
- property attach_points
- property control_creation_kwargs
- property controls
- create_curve_base(*args, **kwargs)
- create_node_base(*args, **kwargs)
base function for node creation, it gets as input any kind of nodes and returns them as a
- create_point_base(*args, **kwargs)
base function for point creation, it validates the args values and turn them in to points. it creates two arrays one of objects, one of points, and one of rotation vectors
- create_selection_base(**kwargs)
- create_shape_base(*args, **kwargs)
- custom_world_align(*scene_objects)
- property inputs
- property joint_creation_kwargs
- property joints
- property outputs
- rename_as_skinned_joints(nub=True)
- property reset_controls
- property reset_joints
- property root
- set_parent(rig_object, **kwargs)
This is the default function to parent modules, when you set parent an object it will look for the root on the dictionary attachments. If this has not being asigned the default value will be the first elementq of the list rig_reset_controls. So you can asign what ever point you want to be the driver of all the rig or let the rig find it by itself. :param rig_object: object or rig that you expect to be the parent of the module. :return:
- setup_name_convention_node_base(*args, **kwargs)
- property tip
- update_name_convention()
- property zero_joint
This property creates a zero joint that will be used for static rigs. The joint is created automatically if it doesn’t exist. :return: