MayaAutoRigProp is a quick Python-based automation tool for rigging props within Autodesk Maya. I used it for my student project movie It's designed to streamline and accelerate rigging workflows in a VFX/animation pipeline by dynamically retrieving assets, rigging them and updating task statuses.
- Automated Rigging: Automatically imports references and geometry, binds them, and configures the scene.
- ShotGrid Integration: Uses SGTK and Shotgun API to fetch asset data and update task statuses.
- Alembic & Maya File Support: Handles both
.abcand.mafile formats. - Smart Namespace and Node Utilities: Automates naming, node management, and scene clean-up.
- Scalable Geometry Binding: Dynamically adjusts controller shapes based on asset dimensions.
-
Clone this repository:
git clone https://github.com/YourUser/MayaAutoRigProp.git
-
Update your
main.pyto reflect your local path:tool_path = r"YOUR/LOCAL/PATH/MayaAutoRigProp"
-
In Maya's Script Editor, run:
import main
The script will:
- Retrieve the current asset and task from ShotGrid.
- Import the latest published
.abcfile (and convert to.ma). - Import a predefined rig reference.
- Bind geometry to the main rig joint.
- Scale and align controllers based on bounding box data.
- Finalize the rig and update the ShotGrid task status.
- Maya 2024+
ShotGrid Toolkit (SGTK)installed and configuredshotgun_api3Python packageFrankenstein Tool(from https://github.com/BaratteG/ for the rig modules logic)
- Make sure the environment has access to ShotGrid credentials and API key.
- The
REFERENCE_PATHinauto_rig_script.pyshould point to a valid reference rig file.
