Forum: Poser Python Scripting


Subject: Saving parameter key values to Pose File without delta influences

an0malaus opened this issue on Jan 19, 2005 ยท 4 posts


an0malaus posted Wed, 19 January 2005 at 7:23 PM

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.