Forum: Poser - OFFICIAL


Subject: Z-flatten python script

CuriousGeorge opened this issue on Dec 14, 2007 · 4 posts


CuriousGeorge posted Fri, 14 December 2007 at 3:21 PM

Anyone tried this free script with Poser 7?  I get the following error when trying it on a simple prop:

Traceback (most recent call last):
  File "C:Program Filese frontierPoser 7RuntimePythonposerScriptsz-flatten.py", line 115, in ?
    BBall.SetParent(ABall)
poser.error: An actor can't be the parent of itself!

When I run the script, it looks for a ball.obj.  So I point it to the default ball primitive that ships with poser (basic primitive).

Can anyone help out?

Gracias,
                        Gorge


ockham posted Fri, 14 December 2007 at 3:28 PM

I haven't looked at this script in quite a while, but I'm pretty sure you 
shouldn't select one of the Balls that the script created.  Something
else should be selected when you run the script.

If the script is having trouble finding Ball.obj in the first place, there may
be some confusion about different runtimes.  When I wrote the script,
(in 2003, how the time passes!!!!) external runtimes were quite new in
Poser, and I didn't really allow for them.  You may have to move your scene
into the main or default runtime.

My python page
My ShareCG freebies


Miss Nancy posted Sat, 15 December 2007 at 12:54 PM

have a care with any z-flatten renders. weird things happen to clothed figures with any body parts extending in the z-direction.



CuriousGeorge posted Sat, 15 December 2007 at 1:19 PM

I'm not python-telligent, so I'll have to do it by hand anyway.

Thanks!