Forum: Poser Python Scripting


Subject: ImportError: No module named poser

GWeb opened this issue on Jan 06, 2005 ยท 14 posts


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

Poser's internal python does support sockets. I did some initial coding, in fact the server side is pretty much finished other than teaching it how to react to various commands being sent by the client. But the basic server works great, it recieves data and responds to the client software using UDP ports. The socket connection is a real cakewalk to interact with, so it should support almost any programming language that can create a socket connection - C++ and Visual Basic just to name a few :)

I'll have to take a look at how to edit the default .pz3 but I can't imagine that will be too difficult, then it's just a simple matter of finishing the client code, adding some error checking and writing up some docs on how to use the client code in your own applications. With luck, provided real life doesn't intrude to much that is, I might have something ready to test in a few weeks.

The first foray will include the necessary client code to interact with other versions of python, but I'll add support for other programming languages as time permits.

It would be extremely helpful (since I don't have a mac) if you could test the code on Mac. I'm one of those awful PC people, don't you know :)