Anthony Appleyard opened this issue on Jan 15, 2014 ยท 24 posts
3dcheapskate posted Tue, 29 September 2020 at 9:49 AM
Easier to see what's happening in Poser 11 if I position the props as if they're sitting on Andy's head and change the script to parent to Andy's head, not hand.
import poser
scn = poser.Scene()
head = scn.Actor("Head")
box = scn.Actor("box_1")
ball = scn.Actor("ball_1")
cone = scn.Actor("cone_1")
cylinder = scn.Actor("cyl_1")
box.SetParent(head,0,0)
ball.SetParent(head,0,1)
cone.SetParent(head,1,0)
cylinder.SetParent(head,1,1)
Here's the initial positioning of the unparented props compared to a zeroed Andy.

I reposition Andy:

And then run the script:

The box is the only thing in the correct position/orientation, so it's actor.SetParent(parent,0,0) or simply actor.SetParent(parent) (i.e. DON'T inheritbends, DON'T realign) to smartprop the prop. And it looks to me (purely visual check) that the ball actor.SetParent(parent,0,1) ( (i.e. DON'T inheritbends but DO realign) is in about the correct position for a zeroed Andy.
I also noticed that if I waggle Andy's head around then the cone and cylinder both deform. This must be something to do with 'inherirtbends'.

Not knowing what inheritbends and realign are meant to do (the PoserPython Manual is useless there) I can't tell whether this is the correct behaviour.
The 3Dcheapskate (also available in DAZ and HiveWire3D flavours) occasionally posts sensible stuff. Usually by accident.
And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU.