Save Layer and bone animations

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Imago
Posts: 698
Joined: Wed Dec 10, 2008 12:48 am
Location: Sardinia

Save Layer and bone animations

Post by Imago »

Where can I find those scripts?
I searched the forum and Googled a lot, but I found nothing.
Sorry for my bad english... Q_Q
User avatar
Imago
Posts: 698
Joined: Wed Dec 10, 2008 12:48 am
Location: Sardinia

Post by Imago »

I found the Vern's "Copy bones animation"
Now I need something to copy the point translations and the switches...
Any idea?

*UPDATE*
I need also a "how many points" script.
The one I found don't work, no errors and no outputs.
Sorry for my bad english... Q_Q
User avatar
hothead
Posts: 213
Joined: Mon Apr 12, 2010 2:53 pm

Post by hothead »

try using the translate tool on select the point or points you want than write down the X,Y position of the point the number are up top under the scrip on window menu keep the translate tool select.
User avatar
Imago
Posts: 698
Joined: Wed Dec 10, 2008 12:48 am
Location: Sardinia

Post by Imago »

hothead wrote:try using the translate tool on select the point or points you want than write down the X,Y position of the point the number are up top under the scrip on window menu keep the translate tool select.
I need to know how many points are in the layer, not their positions.
I need it to fix those layers wich lacks of points for any reason, blocking the interpolate function.
Sorry for my bad english... Q_Q
ponysmasher
Posts: 370
Joined: Wed Aug 04, 2004 6:23 pm
Location: Los Angeles
Contact:

Post by ponysmasher »

Imago wrote: I need to know how many points are in the layer, not their positions.
I need it to fix those layers wich lacks of points for any reason, blocking the interpolate function.
Well that's easy: http://www.dauid.com/tools/scripts/ds_howmanypoints.zip (menu script)
User avatar
Imago
Posts: 698
Joined: Wed Dec 10, 2008 12:48 am
Location: Sardinia

Post by Imago »

Thanks, Ponysmasher!
This one works! :wink:
Now I have to find the "save & Load bone animation" ones
Last edited by Imago on Fri Jun 25, 2010 12:28 pm, edited 2 times in total.
Sorry for my bad english... Q_Q
User avatar
hothead
Posts: 213
Joined: Mon Apr 12, 2010 2:53 pm

Post by hothead »

ponysmasher wrote:
Imago wrote: I need to know how many points are in the layer, not their positions.
I need it to fix those layers wich lacks of points for any reason, blocking the interpolate function.
Well that's easy: http://www.dauid.com/tools/scripts/ds_howmanypoints.zip (menu script)
ponysmasher can you create this scripthttp://www.lostmarble.com/forum/viewtopic.php?t=16802
ponysmasher
Posts: 370
Joined: Wed Aug 04, 2004 6:23 pm
Location: Los Angeles
Contact:

Post by ponysmasher »

HeyVern has a save/load bone animation script in his thread: viewtopic.php?t=7842

Since his script loads the exact positions and angles of bones I made my own script that can load positions/rotations relatively: viewtopic.php?t=16748

My script however is very simple and only saves rotation, position, scale and locked keyframes. It's all I need but Vern's script can save much, much more.
ponysmasher
Posts: 370
Joined: Wed Aug 04, 2004 6:23 pm
Location: Los Angeles
Contact:

Post by ponysmasher »

hothead wrote:ponysmasher can you create this scripthttp://www.lostmarble.com/forum/viewtopic.php?t=16802
Well, I just started scripting a week or two ago so I'm still learning.
So you want one script to tell you the midpoint between two points and one to move a bone to that point?

When you say that bones don't share the x and y positions of points, do you mean when a layer has been moved? Because if you set a bone to position X:0 and Y:0 it will end up right in the center of the layer, just like a point will.
User avatar
Imago
Posts: 698
Joined: Wed Dec 10, 2008 12:48 am
Location: Sardinia

Post by Imago »

Imago wrote:Thanks, Ponysmasher!
This one works! :wink:
Now I have to find the "save & Load bone animation" ones
Oooowww! :shock:
I'am sooooo dumb!
I have already found the Bone script.
Now I need the "save/load switch & translation points" script.

I must stop drink Martini... :roll:
Sorry for my bad english... Q_Q
Post Reply