Forum: Poser Python Scripting


Subject: Generic Poser Python questions.

tromnek opened this issue on Jan 09, 2005 ยท 12 posts


trobbins2 posted Tue, 11 January 2005 at 2:32 AM

Actually I currently have a project in the works to address all of this. It's a fairly simply script in poser python that simply acts as a server to get and send information back to the client application.

You run the poser script and it starts the server, which listens for commands from the client application. The client application can send a variety of commands (pretty much every special command and variable that poser python handles), it can send a command to get the value of a variable, set the value of a variable, or to run an internal poser python command.

Once it's finished (it may take a while, but the initial coding is going well, the server is working great, just working on teaching it all the poser commands now) I'll upload it here for beta testing.

For the initial release it will be the server in python for poser and the python source code needed to interact with the server. That way you can use any version of python and any add ons for it (like PythonWin or wxPython) to code your applications. When you need to get or update data from poser, or get it to perform an internal command, you just use a code snippet and pass it a few parameters to perform that operation.

The first release will be a bit basic, of course, but I'll test it and document it as best I can before uploading it. Later on after I get the server working just the way I want it I'll work on adding support for other programming languages, such as Visual Basic or C++. Shouldn't be all that difficult, just a matter of coding a small client application for them that can connect and interact with the server.

I don't have a firm release date yet, but with a bit of luck I might have something ready to alpha or perhaps even beta test in a few weeks.