Thu, Nov 14, 3:14 PM 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 Sep 18 2:50 am)

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: Saving parameter key values to Pose File without delta influences


an0malaus ( ) posted Wed, 19 January 2005 at 7:23 PM · edited Wed, 23 October 2024 at 2:12 AM

I'm looking for a way to extract the morph target parameter key values in Python without the influence of JCM/ERC deltas. I'm trying to create a Full Body Morph pose file which includes the BODY actor valueParms and all BodyPart actor scales. I can create the file (I use scene.SaveLibraryPose() to create the PNG icon for me then overwrite the PZ2 file), but if I include the targetGeom parameters from the BodyPart actors, the morph effects are doubled (or worse in JCM cases) when I apply the pose file after resetting the figure morphs and pose. I can see, when I look at the file created, that the partial body morph parameters show the non-zero values imposed by the BODY valueParm full body morph rather than the zero key values shown for those parameters in Poser. I'm running on a Mac and have worked out how to get Python to display a proper Mac OS X file save dialog supporting filename entry and directory browsing as well as other Finder plug-ins. If anyone's interested in this bit, please let me know. Can anyone help with the parameter values? Ockham? Anyone?



My ShareCG Stuff

Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.


ockham ( ) posted Thu, 20 January 2005 at 1:29 PM

I don't have any good ideas. Have you tried setting the FBM to zero, then calling scene.DrawAll() before reading the parms? Sometimes it takes a DrawAll() to get morphs where they really should be.

My python page
My ShareCG freebies


an0malaus ( ) posted Thu, 20 January 2005 at 7:05 PM

Thanks ockham, I was hoping I wouldn't have to go down that path, but it had occurred to me. The DrawAll() might help, though.



My ShareCG Stuff

Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.


mmogul ( ) posted Fri, 21 January 2005 at 11:05 AM

Or you can use a figure without the jcm/erc morphs... Morph Manager or CR2Editor can do the work, just delete the morphs that you don't want.


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.