Forum: Poser - OFFICIAL


Subject: A Keyframing Python Script?

Mastermindmm30 opened this issue on Apr 23, 2007 · 5 posts


Mastermindmm30 posted Mon, 23 April 2007 at 11:02 AM

I don't know if this already exists out there somewhere but if it doesn't I don't think it would be too hard to make for a bored scripter.

In poser when you select across the animation palette, for example from keyframe 5 to keyframe 15, and set keyframes, poser will set keys at frame 5 to 15 and leave everything inbetween interpolated.

I'm looking for a way, using the above example, that would set keyframes to 5, 15 and everything in between.

Does something like this exist? If not would anyone want to give this a try? It'd be cool if you could just select what you wanted in the animation palette, then click a button or a shortcut key to key it automatically. But since beggers can't be choosers, doing something where you enter in a range in a dialogue box would also be very useful.

In case you're wondering this would help immensely for situations where you switch from IK to FK in an animation.  Switching from IK to FK tends to make the hands spin like propellors depending on the situation, but setting keys for everything that's interpolated makes the IK to FK switch work very well.  I'm just looking for a quicker and more versatile way to do this.


BastBlack posted Mon, 23 April 2007 at 12:49 PM

You should look into PhilC's Rotoscoper.
I don't have it, so I don't know what all it can do. Maybe it has what you need?

bB


Mastermindmm30 posted Mon, 23 April 2007 at 1:02 PM

Thanks for the reply BastBlack.

I found the product CP, but based on the description I don't think it will do what I need.


ockham posted Mon, 23 April 2007 at 10:07 PM

I believe this one is exactly what you're looking for,
but I don't know how well it works.   It wasn't on my
website until I just now re-uploaded it, which may mean
I found it inadequate at some point  .... or it may just mean
that I took it down as part of housekeeping at some point!

http://ockhamsbungalow.com/Python/Periodizer.zip

If it doesn't work, try Sparsifier.  I use it often and
know it works for the same general purpose, though
it doesn't have a specific "every nth keyframe" setting.

http://ockhamsbungalow.com/Python/Sparsifier2.zip

My python page
My ShareCG freebies


Mastermindmm30 posted Tue, 24 April 2007 at 7:24 AM

Actually that's closer to the opposite of what I need.  I need something that will add keyframes to a range, not remove them.