Adverti horiz upsell

Universal IK FK Switch and Match Tool 1.7.0 for Maya (maya script)

Match poses between IK/FK controls with any Rigg. Define and Store Controls in Node for faster use.

License
Button download
2,608 Downloads

Compatibility

  • 2016

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:01/09/2017
Last Modified:05/26/2018
File Size: 12.1 KB
Universal IK FK Switch and Match
 
*** Get the PRO version to bake the results of an entire range and to import and export ****

DESCRIPTION:
This script lets you switch and match Poses between IK/FK controls in the animation scene.

Works for Riggs that don't have IK/FK match built-in and requires only Standard FK controls and IK Pole Vector Setup.
The Controls are defined once and can be stored in Node for easy reuse throughout the animation.

1. Define Limb to work on
This always needs to be defined before loading/storing/switching
Sides are treated separately to not be restricted by naming convention

2. Define Ctrls necessary by selecting them and hit the << button
<< FK1: Upper Arm
<< FK2: Lower Arm
<< FK3: Hand
<< IK Ctrl: IK Hand
<< IK Pole:
<< Switch Ctrl: The ctrl that is used to switch between ik and fk mode
<< Switch Attr: The attribute that is dialed to switch.
It can be highlighted in the channel box and hit <<

Rotation Offset:
Some Riggs have different orientations in their IK and FK ctrls and joints.
This becomes obvious when running 'Match' and seeing a 90 degree offset in the wrist
Set the offset and run 'Match' again to align them
  • Match IK/FK: To switch over and match pose on current frame
  • Switch IK/FK: Simple switches between the modes (does not do any matching)
  • Select all IK or FK ctrls
 
PRO Version Additional Features:
  • Key all IK/FK controls on current frame
  • Bake IK/FK: Bake the entire frame range to ik or fk. Leaves source keys clean
  • Import/Export Store Nodes to file
 
 
USAGE:
a) Download the script file via this page.  Unzip. The file name is 'mog_ikFkSwitch.py'

b) Copy the file (mog_ikFkSwitch.py) to your Maya scripts directory. On Windows that is Documents/maya/20xx/scripts/

c) Open Maya. In the Script Editor (Python), past the following code:

import pymel.core as pm
import mog_ikFkSwitch as mog_ikFkSwitch
reload(mog_ikFkSwitch)
mog_ikFkSwitch.FkIk_UI()

d) Hit execute (or Ctrl Enter)
 
The UI should open now.
 
LIMITATIONS:
- Pole Vector Control is required and will not run if controlled with attribute
- Works only on Referenced Riggs

Future Improvements/Optimizations planned:
- Make script work/not error if there is no pole vector
- create nodes in Rigg files and look for Referenced Nodes on Load
Questions/comments/issues to monikagelbmann@gmail.com


Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.

People who favorited this item:

  • JRZ
    JRZ
  • ivan2099
    ivan2099
  • jomaro110
    jomaro110
  • momo0411
    momo0411
  • MasterXL
    MasterXL
  • apecornelius
    apecornelius
  • Chirkez
    Chirkez
  • duochen2
    duochen2