mgear.flex.flex module
flex.flex
Flex is the main module that allows you to run the update tool
- module:
flex.flex
- class mgear.flex.flex.Flex
Bases:
object
Flex is the mGear rig update tool
Flex class object allows you to trigger updates on a given rig. You can use this object to execute the update with specific features
- analyze_groups(update_ui=False)
Scans the shapes inside the source and target group
This function will query each source and corresponding target shape checking if their type, vertices count and bounding box matches
- Parameters:
update_ui – whether or not the analyze ui should be updated
- Type:
bool
- launch(**kwars)
- show_analyse(**kwars)
- property source_group
Flex source group name (property)
- property target_group
Flex target group name (property)
- property update_options
Flex update options (property)
Note
This are the default update options {
“deformed”: True, “transformed”: True, “object_display”: False, “user_attributes”: True, “render_attributes”: True, “component_display”: False, “plugin_attributes”: False, “hold_transform_values”: True,
}
- update_rig(**kwars)