Josh Buck | (c)2008 - 2011 | www.cgartistry.com
jbRigging Tools is provided free of charge and is free to use under this license. If you find this script useful please consider donating to help fund further development. Or... if you'd rather buy me a beer, indicate that donated funds are for purposes of "beer" and I personally guarantee their allocation as such. Cheers!
Please send bugs, comments and suggestions for features and/or improvements to email@example.com
Running the script
- Copy jbRiggingTools to a directory of your choice
- Start Maya, open the script editor and type or copy the following text into the MEL tab (be sure to replace the location with your own and use forward slashes with quotes):
- Use the "Execute All" button in the script editor OR make a shelf button by selecting the text in the Python window and going to File -> Save Script to Shelf
jbRigging Tools are tools for the quick creation of aligned and ready to be constrained NURBS animation controls with additional time saving features like auto-rigging IK/FK arms and a foot roll setup. Main features:
- Create NURBS controls and align them to joints
- Quickly scale and rotate control shapes into desired scale and position
- Automatically create root transform nodes (groups) that allow your animation controls to remain 'zeroed out'
- Automatic naming of controls based on choice of prefix and joint name
- Automatically rig arms with IK/FK switch
- Automatically rig legs with foot roll setup (toe, ball, ankle, twist)
- Name all joints and controls as you want. No naming conventions required
- Game-engine friendly skeleton
Clicking on any of the Control Shape buttons will create a clean, single-node NURBS control shape.
Align on Creation : Toggle on 'Align on Creation 'and when created, the NURBS shape will align in both position and orientation to the selected object. This is useful for creating controls that are aligned to joints.
Xtra Transform Node : Toggle on 'Xtra Transform Node' to create a root transform node (a group) that captures the transformations of the NURBS control shape. This allows the NURBS control shape to remain 'zeroed out.'
Scale : A scale multiplier that allows you to change the base size of all NURBS control shapes on creation. This is useful when rigging very large or small characters. Default is 1.0.
Prefix : When created, NURBS control shapes are named based on the object they are aligned to and this prefix.
Shape Rotate 45 : Rotates the selected NURBS control shape 45 degrees in X, Y or Z. Useful for putting controls where you want them after they're aligned. NOTE: these buttons only affect the NURBS control shape and not the root transform node. Your control shapes remain 'zeroed out.'
Shape Scale : Scales the selected NURBS control shape up or down.
IK/FK Arm : Creates a rigged IK/FK arm from selected joints and controls. To auto-rig an arm with an IK/FK switch:
- Create your arm joints and controls. This auto-rig operation requires an upper arm joint, an elbow joint, and a wrist joint. You also need FK controls for each joint, an IK control positioned at the wrist, a pole vector control and an IK/FK switch control -- you can quickly create, name and align all of these from the prebuilt Control Shapes.
- Select the following scene objects in order:
- Upper Arm Joint
- Elbow Joint
- Wrist Joint
- Upper Arm FK Control
- Elbow FK Control
- Wrist FK Control
- IKFK Switch Control
- Arm Pole Vector Control
- IK Wrist Control
- Press the 'IK/FK Arm' button
- If all 9 objects were selected in the proper order a functional IK/FK switch is created along with a visibility switch hooked into the IK/FK switch to manage visibility of controls. Arm defaults to FK
IK Leg : Creates an IK setup with foot roll attributes (toe, ball, ankle, twist.) To auto-rig a leg:
- Create your leg joints. For the auto-rig to work you need to have an upper leg joint, a knee joint, an ankle joint, a foot ball joint, a foot toe joint (tip), a general foot control, and a pole vector control --you can quickly create, name and align all of these from the prebuilt Control Shapes.
- Set the pivot of the foot controller to where you want the heel to be.
- Select the following scene object in order:
- Upper Leg Joint
- Knee Joint
- Ankle Joint
- Foot Ball Joint
- Foot Toe Joint (tip)
- Leg Pole Vector Control
- Foot Control
- Press the 'IK Leg' button
- A functional leg setup with foot roll attributes is contstructed. Fool roll attributes are attached to the main foot controller.
Align : 'Position' and 'Orientation'. Aligns any selected object to another. First select the object that you want to align to, then the object that you want aligned.
Freeze Transformations : Freezes translate, rotate and scale transformations for selected objects.