Hi everyone, it’s been a while.
I’ve been hard at work on a game project that I’m helping out on and with other college-related activities. Something I find myself doing a lot is I changing rig control shapes, especially since at this point the auto-rig scripts I’m using are ones I wrote months ago that use some clunky shapes.
On a side note, I’ll be re-writing those auto-rig scripts this summer with a whole lot more attributes that I learned from all the rigging I’ve done this year. I’m trying to make my life as easy as possible.
So! Back to the script. This script intelligently gets the world size and position of the shape you want to replace by accessing the its BoundingBox scale and Center. Besides that, I’m doing everything pretty standard. I’m using a polyCube for my cube shape object, so I have to turn off Shading and all the render stats associated with polygons, but it’s pretty basic. The only thing an animator might get annoyed by is just hiding Curves in the viewport won’t hide all the control on the rig. But you can’t have everything (and use the attribute I give you for that, anyways!)
Here’s the script. I’m uploading my scripts on GitHubGist now because they read better and can be downloaded easier if you’d like.