/ Universal IK FK Lite
// version 1.11
// July 21, 2020
Universal IK FK Switch and Match Tool - Lite
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 re-use throughout the animation.
>>>>>>>>>>>>>>>>>>>>>>>>>>> PRO FEATURES <<<<<<<<<<<<<<<<<<<<<<<
Create a keyframe for all IK/FK Ctrls on current frame
Bake IK/FK: Bakes the entire frame range to ik or fk. Leaves source keys clean
Bake IK/FK Keys: Bakes all keyframes in frame range to ik or fk. Leaves source keys clean
Export Store Nodes: Save all store nodes into .ma/.mb Store File saved in the same location as the scene.
Import Store Nodes: Opens file dialogue to select the previously exported Store File
Find PRO Version here: https://gum.co/bcMMT
a) Copy the file (mog_ikFkSwitch.py) to your Maya scripts directory. On Windows that is Documents/maya/20xx/scripts/
b) Open Maya. In the Script Editor (Python), past the following code:
import pymel.core as pm
import mog_ikFkSwitch as mog_ikFkSwitch
c) Hit execute (or Ctrl Enter)
Watch this Youtube video on Usage: https://youtu.be/SVwVAK6hj_8
Or find detailed instructions in the "how to install an use.txt" file
- 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
- function on not referenced Riggs
1.11 - July 21, 2020 - Bug fix FK to IK Match pole Vector computation for locked fk controls
1.10 - July 05, 2020 - Pro version: added option to Bake All Keyframes in Range IK/FK and FK/IK in addtion to Bake every Frame
1.9 - June 03, 2020 Bug fix position snap for fk controls with transformation
1.8 - September 20, 2019 - Added knee/ellbow Bend Attribute to solve pole vector flip issues
Added more Info about Rotation Offset and Bend Angle to Help tab
Evaluation update bug fixes
Pro version: changes save format from .fbx to .ma/.mb
1.7 - May 25, 2018 - Too small Joint orientation on Malcolm fixed
1.6 - August 27, 2017 - Offset Value Bug fix. Storing float values now.
1.5 - August 27, 2017 - Blend Value 1 - 10 bug fix
Pro version: Bake range and Set Keyframe for all IK/FK ctrls
Free version: Select all ik/fk ctrls
1.4 - April 24, 2017 - Beta release. New interface. Auto detect limbs by selecting
1.1 - Jan 12, 2017 - Improvement to interface and bug fixes.
1.0 - Jan 07, 2017 - Initial Release.
// Questions/comments/bugs/issues to
// c Monika Gelbmann 2020, www.monikagelbmann.com