Forum: Poser Python Scripting


Subject: An old problem with parenting props is still here in Poser 10.

Anthony Appleyard opened this issue on Jan 15, 2014 ยท 24 posts


3dcheapskate posted Tue, 29 September 2020 at 4:53 AM

A better test - Andy + ball + box + cone + cylinder, all at origin, unparented, and Andy in a non-zero pose

2 PP2014 zeroed.jpg

Anthony's simple script, slightly modified:

import poser
scn = poser.Scene()
hand = scn.Actor("Left Hand")
box = scn.Actor("box_1")
ball = scn.Actor("ball_1")
cone = scn.Actor("cone_1")
cylinder = scn.Actor("cyl_1")
box.SetParent(hand,0,0)
ball.SetParent(hand,0,1)
cone.SetParent(hand,1,0)
cylinder.SetParent(hand,1,1)

POSER PRO 2014 FIRST AS A BASELINE

Run script in PP2014. Only the ball's origin is still at the world origin. The cone/cylinder origins have moved to Andy's hand:

3 PP2014 post script.jpg

Move Andy to check parenting:

4 PP2014 - all parented to lHand.jpg

Delete Andy - props aren't deleted. That was the main symptom of the original bug:

5 PP2014 props dont delete with figure.jpg


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.