Forum: Poser Python Scripting


Subject: a few stupid questions from an experienced programmer

inconnu opened this issue on Jun 01, 2003 ยท 4 posts


inconnu posted Sun, 01 June 2003 at 10:35 AM

I know a bunch of computer languages and a bit of Python, but I don't yet own Poser 5. (I only tried Poser 4 demo).


c1rcle posted Sun, 01 June 2003 at 10:52 AM

it's version 2.2.1 for poser5, you should be able to manipulate almost everything in poser with Python. SR3 for Poser5 added quite a few Python commands for the lights that were missing in earlier SR's.


ockham posted Sun, 01 June 2003 at 5:12 PM

The easiest rule to remember: Anything that you can do with parameter dials in Poser is accessible from Python. Only some of the other actions are properly reachable. You can load just about any kind of file, but the corresponding Save actions are mostly broken. If the Poser Python PDF documentation -doesn't- list a function, it's definitely not there; but if it -does- list a function, you still have to check to see whether it works! In general, the complicated actions that appear within a dialog box, like falloff zone graphs for magnets or the Joint Editor adjustments, are not available to Python. Sometimes you can "fake" these actions by various tricks like saving a file, modifying it, and re-reading it, but usually not.

My python page
My ShareCG freebies


stewer posted Tue, 03 June 2003 at 9:02 AM

Don't forget that you have access to the geometry data, so you can write custom im/exporters or other geometry modifications. As an example, there's a basic fractal generator shipping with Poser.