Limb Autorigger

A Python plugin for Maya to auto-rig limbs. Supports IK/FK blending and stretchy bones.

I wrote a Python script in Maya to automatically rig a limb to support IK/FK blending and “stretchy bones” (a skeleton with deformation). This was done for part of Nick Miller’s Master Rigging and Python Scripting class. The repo is here.

To rig a limb, run the following in the Script Editor:

import importlib
import lrig.limb as limb
importlib.reload(limb)

limb.create_limb()

Running will create a set of IK joints, FK joints, bind joints for skin binding, and a set of controls and handles. The arm control has an IK-FK attribute, which controls the interpolation of bind joints between IK and FK joints.

IK-FK interpolation

This rig setup also supports stretching IK and FK joints for stretchy skeletons.

IK Stretching
FK Stretching
Stretchy bones