Duplicate and Flip Bones

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
empty
Posts: 28
Joined: Tue Mar 18, 2008 11:39 pm
Location: Colorado
Contact:

Duplicate and Flip Bones

Post by empty »

Is there a way to duplicate and flip bones horizontally when setting up a skeleton?
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

Yes, with a special copy bones script (see Scripting section of this forum). However, you need to reparent the newly created bone, because, for some reason, if you try to do this in the same script, Anime Studio crashes.

Of course, you don't flip the duplicate bone, you rotate it over minus bone angle degrees. That should be doable in a script. However, I think that creating a new bone with the bone tools is just as fast as running this script.
slice11217
Posts: 279
Joined: Thu Mar 30, 2006 6:12 pm
Location: Verona, New Jersey

Post by slice11217 »

Check out this link:

viewtopic.php?t=7842

Heyvern wrote a script to duplicate and copy bones, it's the second script down from the top. There's even instructions on how to use the script and an example file to help out.

S
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

Holy cow! Forgot about that thing!

You definately want to get both scripts (bonerenamer and copyflipbones). The bone rename script is something I use everyday. Very handy. I love being able to select a whole bunch of bones and just adding extensions or additions to the name (like adding "fan_" to fan bones). It also makes the copyflip bone script ten times easier to use. Sometimes I just use it for fun even if I don't need to. ;)

There is a very serious benefit to using copy/flip for skeletons. The bones on either side are perfectly symmetrical. In combination with flipping vectors this makes rigging so much better.

I can remember spending ages painstakingly copying all the attributes one at a time (length, x and y translation, angle) from bones on one side to the matching bones on the other.

Even if I make changes to the bones, it is easy to just delete one side and re-flip. Best script I ever wrote... saves the most time anyway.

-vern
Post Reply