PoseGroup¶
vtool.maya_lib.corrective.PoseGroup ([…]) |
This pose is a group to parent poses under. |
-
class
PoseGroup
(description=’pose’)¶ This pose is a group to parent poses under.
-
is_a_pose
(node)¶ Check if the named node is a pose.
Parameters: node (str) – The name of a node.
-
get_type
()¶
-
set_pose_group
(pose_group_name)¶ Set the pose group to work with. The pose group is pose_gr by default and is setu automatically.
Parameters: pose_group_name (str) – The name of a pose group.
-
set_pose
(pose_name)¶ Set the pose that the instance should work on.
Parameters: pose_name (str) – The name of a pose.
-
goto_pose
()¶ Goto the pose. This is important so the character can back into the same pose it was sculpted at.
-
rename
(description)¶ Rename the pose.
Parameters: description (str) – The new name for the pose. Returns: The new name. Return type: str
-
create
()¶ Create the pose.
Returns: The new name. Return type: str
-
create_all_blends
()¶ Create all the blends in a pose. This refreshes the deltas.
-
create_blend
(mesh_index=None, goto_pose=True, sub_poses=True)¶ Create the blend. This will refresh the delta.
Parameters: - mesh_index (int) – Work with the mesh at the index. Pose needs to be affecting at least one mesh.
- goto_pose (bool) – Wether to go to the pose.
- sub_poses (bool) – Wether to create blend for sub poses as well.
-
create_sub_poses
(mesh=None)¶ Create the blends and refresh deltas for the sub poses in a pose.
Parameters: mesh (int) – Work with the mesh at the index. Pose needs to be affecting at least one mesh.
-
delete
()¶ Delete the pose.
-
select
()¶ Select the pose.
-
attach
(outputs=None)¶ Attach the pose. Attaching and detaching help with export/import.
Parameters: outputs (list) –
-
detach
()¶ Detach the pose. Attaching and detaching help with export/import.
-
detach_sub_poses
()¶ Detach the sub poses. Attaching and detaching help with export/import.
-
attach_sub_poses
(outputs)¶ Attach the sub poses. Attaching and detaching help with export/import.
-
mirror
()¶ Mirror the pose.
-