This is a simple auto-rig designed to function on a leg. It combines a few sub tools I wrote to help my rigging process. If you are interested, you can look at the code for yourself here: https://github.com/VerisSevren/IK-FK_Switch
Thumbnail
Auto Rig Demo