Forum: Poser Python Scripting


Subject: Intro to Poser Python?

Ajax opened this issue on Jul 10, 2003 ยท 8 posts


Ajax posted Thu, 10 July 2003 at 2:04 AM

Does anybody know of a tute that introduces you to Poser Python? I have some programming experience but no Python experience. I'm looking for something that will get me right into making user interfaces, reading dial values and saving files.


View Ajax's Gallery - View Ajax's Freestuff - View Ajax's Store - Send Ajax a message


Ajax posted Thu, 10 July 2003 at 4:46 PM

Thanks ockham! That should help get me started. The first thing I want to do is write a decent pose saving dialogue - one that gives you more control over what get's included in a pose and what doesn't. That's going to be free. I don't have any particular Python plans after that. I have some stand-alone commercial software for setting up EasyPose in cr2s. It does a lot of other cr2 edits as well. I'm sure all of it could be ported to Poser Python but I'm not sure what the point would be. None of the things it does actually need to be done within Poser and by having it as a stand alone, Poser 4 users can use it too.


View Ajax's Gallery - View Ajax's Freestuff - View Ajax's Store - Send Ajax a message


Ajax posted Fri, 11 July 2003 at 12:14 AM

Thanks. I'll do that :-) I was figuring on writing the pz2 creation routine myself anyway, so that's no problem. Having an example interface and an example file writer to look at will help a heap.


View Ajax's Gallery - View Ajax's Freestuff - View Ajax's Store - Send Ajax a message


Ajax posted Sun, 13 July 2003 at 4:50 PM

Thanks Ockham. I've got myself bogged down in a bit of VB programming just now, but I really want to get to this python script at some stage.


View Ajax's Gallery - View Ajax's Freestuff - View Ajax's Store - Send Ajax a message


Roy G posted Sun, 31 August 2003 at 9:34 PM

"Does anybody know of a tute that introduces you to Poser Python?" Apparently the answer has been deleted, so I need to ask this again.


Ajax posted Sun, 31 August 2003 at 10:09 PM

Essentially the answer was no. There don't seem to be any tutes specifically on Poser Python. However, there are plenty of tutes on Python around. www.python.org is a good place to start and a search with google should get you lots of other places to look. If you want to create a GUI for your python scripts, you need to know about TKinter. Info on that is harder to find, but again a google search should see you right. I found the best way to pick up the right approaches to take for Poser Python was to look at existing scripts. Ockham has lots of them in free stuff and many have a GUI, so you can get a handle on TK as well. You'll also find that getting to know your way around the Poser 5 Python help file is a good move. I found there was a sort of understanding threshold I needed to reach. It seemed like I was reading lots and understanding very little for a while, then suddenly it clicked and it all made sense. The script I wrote after starting this thread is posted in one of the more recent threads if you want to take a look at it.


View Ajax's Gallery - View Ajax's Freestuff - View Ajax's Store - Send Ajax a message


Roy G posted Mon, 01 September 2003 at 3:51 AM

Thanks Ajax. I just installed Pro Pak and Python has lots of intriguing possibilities. I have lots to learn.


rrkknight3 posted Fri, 05 September 2003 at 10:10 PM

I found Poser 4 Pro Pack f/x & Design by Richard Schrand to have a usable Poser Python introduction. My problem was that I already knew Python, so I'm not sure it would be enough to start everyone. Ajax, however, would probably skip as much as I did. I'm also sure that ockham's scripts are a good place to learn.