Forum: Poser Python Scripting


Subject: Question about Ockham's ZeroMorph script

nickedshield opened this issue on Jan 03, 2005 ยท 10 posts


nickedshield posted Mon, 03 January 2005 at 2:19 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

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

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

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.