Fri, Jan 3, 11:39 AM CST

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: Auto keyframe morphs script?


Conniekat8 ( ) posted Sun, 07 June 2009 at 9:03 PM · edited Thu, 19 December 2024 at 5:23 PM

I need a script that auto keyes all the moprhs it finds in an outfit or a figure.
I know there's a script that lists them, or auto-exports them - I have those.
I need one that auto keys all the morphs, maybe with 5 frame space between each, or let you set the frame spacing.

The goal is to go through all the morphs in a piece, dial up the morph to 1 over a span of several keys, then dial back down to 0.

Has anyone seen a script like that, free or $. (not $$$$)
Or could someone make one? I can't pay  at the moment, but I can give you couple pieces from my store in exchange :)

Hi, my namez: "NO, Bad Kitteh, NO!"  Whaz yurs?
BadKittehCo Store  BadKittehCo Freebies and product support


markschum ( ) posted Sun, 07 June 2009 at 11:53 PM

You want to set an animation showing each morph applied over a 5 second period then back to 0 ?   Is this for all Full body morphs ?   or every morph for every body part ?

I can probably do one , if one of the others hasnt got one already.


Conniekat8 ( ) posted Mon, 08 June 2009 at 1:00 AM · edited Mon, 08 June 2009 at 1:05 AM

It's for the BODY level dials only (FBM's Yes)

I have a script that exports eachs, and managed to modify it to just give me a list of morphs.
What I'd like to do is make a little animation that shows all the morphs in a piece, but... it has almost 200 morphs in it, I'm not looking forward to manually keyframing that. Actually, I can't afford the time :(

With a script, I may know enough little edits to where I can adjust the keyframe time as needed, as long as I have the core.
Something like this:
Frame1 - all zero
Frame5 - morph A at 1.0
Frame10 - Morph A at 0.0
Frame15 - Morph B at 1.0
Frame 20 - Morph B at 0.0

If frame numbers for each subsequent keyframe are determined by  n+5,  then loop for as many morphs there are M#* 2, I can easily change n+5 to n+any number of frames I need.

The timeline in Poser would have to be scaled up to something like number of morphs25 plus accounting for the first and last, probably just first, since last finishes at 0.
I don't know if poser automatically scales the timeline as you add frames, or not, so I don't know if the timeline scaling is even needed.

But, even if I have to scale it manually to have enough frames, that's no biggie, it's only done once. What I don't want to do is have to key each morph manually.

Does that give you more info? If I left something unclear, please feel free to ask!!!

Hi, my namez: "NO, Bad Kitteh, NO!"  Whaz yurs?
BadKittehCo Store  BadKittehCo Freebies and product support


markschum ( ) posted Mon, 08 June 2009 at 1:57 AM

I will try to get something together tomorrow .
I will put a variable in for the keyframing  to make it an easier change .
Doesnt seem very complex at all, it may be a problem in limiting the morphs but that can be delt with laters .

One of the other guys may jump in too.


Conniekat8 ( ) posted Mon, 08 June 2009 at 3:06 AM

Thank You so much markschum!!!!

I can do scripting in other languages, but not python - so frustrating! It hasn't gotten it's learning turn on my to-do list.

If you guys would rather email me, it's conniekat8@yahoo.com 
Also, if you want to make the script available to others, that's fine by me :)

Hi, my namez: "NO, Bad Kitteh, NO!"  Whaz yurs?
BadKittehCo Store  BadKittehCo Freebies and product support


markschum ( ) posted Mon, 08 June 2009 at 1:18 PM

sent you an email, with first cut of script


markschum ( ) posted Tue, 09 June 2009 at 10:00 AM

To keep this thread neat - emails exchanged , some minor changes may be done but Connie seems happy with it.   I will NOT make this available as a freebie .  Drop me a pm if  you want a copy. 


Conniekat8 ( ) posted Tue, 09 June 2009 at 3:34 PM

YES, YES, Mark, it worked out PERFECT!

I love how you adeed a feature in there to select the mophs too, not just go through all of them. Slick! You got it done so fast, I'm already using it!  It's awesome!!!!!!!!

Excellent job!

Hi, my namez: "NO, Bad Kitteh, NO!"  Whaz yurs?
BadKittehCo Store  BadKittehCo Freebies and product support


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.