Forum: Poser Python Scripting


Subject: Updating Freazypose 0.10 to work in Poser 12

3dcheapskate opened this issue on May 10, 2022 ยท 27 posts


3dcheapskate posted Wed, 11 May 2022 at 1:27 PM

I mentioned earlier that maybe all I need to do to get this script to work in Poser 12 is to change the print statements from Python 2 print 'xyz' to Python 3 print ( 'xyz' ), i.e. add the brackets. But looking through the code above I'm reminded that I use the + sign to concatenate things I'm printing, e.g.

print "- *** ALERT: slaveparameter " slaveparameter.Name() + " has 2+ ValueOps using source parameter " + masterparameter.Name() 

whereas normal people tend to use the % sign with a comma separated list (there's a name for that, something to do with format). I think Python 3 needs that format. But I'm not sure.


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.