Sat, Feb 8, 1:15 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: 2025 Feb 05 6:41 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: Question about Ockham's ZeroMorph script


nickedshield ( ) posted Mon, 03 January 2005 at 2:19 PM ยท edited Sat, 08 February 2025 at 1:14 PM

The question is: I hav a V3 loaded with morphs, have the head selected, initilize the script, type in Head, hit go and it works. All dials set to zero. But when I try any other body part I get a Figure not selected error. It's probably something very simple I missed but what?

I must remember to remember what it was I had to remember.


ockham ( ) posted Tue, 04 January 2005 at 11:07 AM

Let me check that. I do recall an error in that department (finding figure from a part.)

My python page
My ShareCG freebies


ockham ( ) posted Tue, 04 January 2005 at 11:12 AM

Yeow! What an awful script. Must have been the first time I used TKinter. I'll immediately rewrite it.

My python page
My ShareCG freebies


ockham ( ) posted Tue, 04 January 2005 at 11:43 AM

file_163955.jpg

Okay, try this. Should be nicer. Note that the hands are listed separately, so that you can act on either hand + all fingers in one operation if wanted. Otherwise, leave the list alone to act on everything; highlight desired parts to act on only those parts. If this works better, I'll put it on the website to replace the old. (Take the attached text and rename it to Zeromorphs.py)

My python page
My ShareCG freebies


ockham ( ) posted Tue, 04 January 2005 at 11:45 AM

file_163957.jpg

Here's what it looks like.

My python page
My ShareCG freebies


nickedshield ( ) posted Tue, 04 January 2005 at 12:16 PM

Thank you soo much!!! I had just recommended the script to a few others, Now I can inform them it works!! They will thank you also:) One last question, would it be possible to include a selection to zero the whole body at once? The problem was that even after using the Zero figure command FBM's were not getting zeroed. I don't remember who had thaat situation, have to hunt up my post :( On the positive side, I gave the script a quick once over and I like it!!!

I must remember to remember what it was I had to remember.


ockham ( ) posted Tue, 04 January 2005 at 12:19 PM

I think FBM's are not reachable from Python. Let me try it quickly....

My python page
My ShareCG freebies


ockham ( ) posted Tue, 04 January 2005 at 12:26 PM

file_163958.jpg

They're reachable, I just wasn't including them. Now they're included. One question, though. FBM's are strictly speaking "Value Parms", not "Morph Targets". Is there any possible danger in zeroing Value Parms that you wouldn't want to zero in this operation? I haven't used Vicky-type figs often enough to have a feel for this.

My python page
My ShareCG freebies


nickedshield ( ) posted Tue, 04 January 2005 at 12:35 PM

It was mathman who originally wanted to do it so I'm not sure. I just posted a reply to his thread with the hope he will spot it and see this one. I personaly want to thank you for all you effort:)

I must remember to remember what it was I had to remember.


an0malaus ( ) posted Sun, 09 January 2005 at 3:35 AM

If you want stuff which is animatable (sp?) AND able to be saved to a PZ2 pose file, you're better off not putting it in the valueParms at all. What might be considered the obvious use of a valueParm, i.e. as a control or scaling point for JCM/ERC can also be done with a targetGeom (standard morph) with no deltas and will be saved with all poses that include morph targets. If you're creating full body morphs, you still definitely need to zero out all of the BODY valueParms otherwise their inherited effects will be incorporated into the body part morphs generated. The standard V3 doesn't have any non-zero valueParms on any body part "out of the box".



My ShareCG Stuff

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


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.