Armin Halac shows how to write a script for Autodesk Maya that will allow you to evenly split a joint and add new joints, which can be useful when you need to add some joints for twst action on an existing joint chain.

how to write a script that can evenly split a bone and add new joints

Using PyMEL and a bit of math, Armin walks through the concepts and shows how to recreate the joint hierarchy and generate new joints and how to position them on the calculated locations. When completed, the script will also automatically name the new joints while keeping the original joint orientations.

Some of the links on lesterbanks are "affiliate links", a link with a special tracking code. This means if you click on an affiliate link and purchase the item, we will receive an affiliate commission. The price of the item is the same whether it is an affiliate link or not. Regardless, we only recommend products or services we believe will add value to our readers. By using the affiliate links, you are helping support our Website, and we genuinely appreciate your support.