IkHandle¶
vtool.maya_lib.space.IkHandle (name) |
Convenience for creating ik handles. |
-
class
IkHandle
(name)¶ Convenience for creating ik handles.
Parameters: name (str) – The description to give the node. Name = ‘ikHandle_(name)’. -
solver_rp
= ‘ikRPsolver’¶
-
solver_sc
= ‘ikSCsolver’¶
-
solver_spline
= ‘ikSplineSolver’¶
-
solver_spring
= ‘ikSpringSolver’¶
-
set_start_joint
(joint)¶ Set start joint for the ik handle.
Parameters: joint (str) – The name of the start joint.
-
set_end_joint
(joint)¶ Set end joint for the ik handle.
Parameters: joint (str) – The name of the end joint.
-
set_joints
(joints_list)¶ Set the joints for the ik handle. start joint becomes the first entry. end joint beomces the las entry.
Parameters: joints_list (list) – A list of joints.
-
set_curve
(curve)¶ Set the curve for spline ik.
Parameters: curve (str) – The name of the curve.
-
set_solver
(type_name)¶ Set the solver type.
solver types: ‘ikRPsolver’ ‘ikSCsolver’ ‘ikSplineSolver’ ‘ikSpringSolver’
Parameters: type_name (str) – The name of the solver type.
-
set_full_name
(fullname)¶ Set the full name for the ik handle, no prefixing or formatting added.
-
create
()¶ Create the ik handle.
Returns: The name of the ik handle. Return type: str
-