MatchSpace¶
vtool.maya_lib.space.MatchSpace (…) |
Used to match transformation between two transform node. |
-
class
MatchSpace
(source_transform, target_transform)¶ Used to match transformation between two transform node. Can be used as follows: MatchSpace(‘transform1’, ‘transform2’).translation_rotation()
Parameters: - source_transform (str) – The name of a transform.
- target_transform (str) – The name of a transform.
-
translation
()¶ Match just the translation
-
rotation
()¶ Match just the rotation
-
translation_rotation
()¶ Match translation and rotation.
-
translation_to_rotate_pivot
()¶ Match translation of target to the rotate_pivot of source.
-
rotate_scale_pivot_to_translation
()¶ Match the rotate and scale pivot of target to the translation of source.
-
pivots
()¶ Match the pivots of target to the source.
-
world_pivots
()¶ Like pivots, but match in world space.
-
scale
()¶