Forum: Poser Python Scripting


Subject: Camera & Figure rotation via Python? (for VR Worx's Quicktime VR software)

gellenburg opened this issue on Jan 15, 2005 ยท 16 posts


underdog posted Sat, 15 January 2005 at 1:12 PM

Thanks, Ockham, I waded around on the activestate site a bit, and I am not sure where to go with that library, although it does look promising. Maybe I am taking too simplistic an approach to this. What I envision is that Poser calls a python script and that the python script has the poser library imported, knows about the active figure, actor, camera, etc. It knows how to manipulate the poser API. What I want to do is call a Perl script from that python script, and say, "Hey, here I am. Go do whatever it is you are supposed to do (read data, get keyboard input, etc). If you need to find out the currently selected poser figure, or set a camera position, etc, call me using this method and supply these positional parameters and I will contact Poser on your behalf, massage the data so it is the right datatype, and then return a handle to the figure, or adjust the camera, etc." I am going to go investigate sockets in python and see how hard it will be to get some conversation going between a perl script (client) and a poser python script (server).