Create step keyframes for each inbetween frame?

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

Moderators: Víctor Paredes, Belgarath, slowtiger

sas8140
Posts: 8
Joined: Fri May 31, 2024 8:37 pm

Re: Create step keyframes for each inbetween frame?

Post by sas8140 »

KuzKuz wrote: Tue Jun 04, 2024 5:49 pm I can write a script that will bake the keys. It won't take long. Is it better to bake from the first selected key to the last selected key, or should I use the playback range for this?
Wow that would be awesome. If it could be from first selected to last selected that would be perfect...and work on things like position and rotation channels etc. Please also link your donation page or paypal (you can DM me) so I can make a small contribution to your work. Thankyou!
User avatar
KuzKuz
Posts: 611
Joined: Mon Aug 19, 2013 5:12 pm
Location: Ukraine

Re: Create step keyframes for each inbetween frame?

Post by KuzKuz »

Here's a script that you can assign to a hotkey. It works with bone, layer, and point transforms. Currently, it does not work with the curvature channel or cameras.
I might add support for these later, but I'm not sure yet. The script also bakes every frame at the moment. I might add a switch for twos later.
https://drive.google.com/file/d/1JGb3If ... sp=sharing

sas8140
Posts: 8
Joined: Fri May 31, 2024 8:37 pm

Re: Create step keyframes for each inbetween frame?

Post by sas8140 »

KuzKuz wrote: Tue Jun 04, 2024 10:06 pm Here's a script that you can assign to a hotkey. It works with bone, layer, and point transforms. Currently, it does not work with the curvature channel or cameras.
I might add support for these later, but I'm not sure yet. The script also bakes every frame at the moment. I might add a switch for twos later.
https://drive.google.com/file/d/1JGb3If ... sp=sharing

Dude, it's EPIC. Works very smoothly atm. Thanks a ton. :D
User avatar
KuzKuz
Posts: 611
Joined: Mon Aug 19, 2013 5:12 pm
Location: Ukraine

Re: Create step keyframes for each inbetween frame?

Post by KuzKuz »

Thanks!
User avatar
lucasfranca
Posts: 180
Joined: Sat Oct 07, 2017 11:47 pm

Re: Create step keyframes for each inbetween frame?

Post by lucasfranca »

No way! How did I miss this?

Does it work with bezier interpolation? Unbelievable!

And with dynamic bones?
An old guy [since 1983] who was raised in front of the TV.
Passionate about animation, after getting old, he decides to make it his hobby.

I share tutorials, reviews, tips and tricks from this vast world of animation on my channel.

https://youtube.com/animai2D
User avatar
KuzKuz
Posts: 611
Joined: Mon Aug 19, 2013 5:12 pm
Location: Ukraine

Re: Create step keyframes for each inbetween frame?

Post by KuzKuz »

lucasfranca wrote: Fri Aug 02, 2024 6:52 pm No way! How did I miss this?

Does it work with bezier interpolation? Unbelievable!

And with dynamic bones?
This works with bezier interpolation, but not with dynamics.
Post Reply