Forum: Poser - OFFICIAL


Subject: Simple python script

danborn opened this issue on Jan 17, 2011 · 4 posts


danborn posted Mon, 17 January 2011 at 11:33 PM

is there a part of this forum dedicated to python scripting?  noob to poser here, but well versed in cad design and scripting automation.  basically i'm using the animation keyframes as my storyboard...i.e. gross  changes in camera, poses and props between keyframes.  so i'd like to save the poses and camera angles for each frame and give them the frame number as the name. step to next  frame and repeat till done.  does anyone have  or know where to look for good python example scripts for maniping library elements?

 

thanks in advance

danborn


LaurieA posted Tue, 18 January 2011 at 12:53 AM

The Poser Python Scripting forum is here.

If there's something you need specifically, you could ask in there. There's a lot of code gurus who watch the forum ;o).

Laurie



ockham posted Tue, 18 January 2011 at 6:54 AM

I had thought about doing such a "storyboard generator" but didn't need it myself and didn't see any demand from others.

It's certainly doable, and wouldn't be terribly hard.

One of the factory-supplied sample scripts gives a good example of enumerating all the elements of the scene and writing to a file.

Also, look at my old ImageSequence and TripleGraph scripts, which contain some other tricks that might be useful.

http://ockhamsbungalow.com/Python/ImageSeq.zip

http://ockhamsbungalow.com/Python/TripleGraph.zip

 

My python page
My ShareCG freebies


danborn posted Wed, 19 January 2011 at 9:05 PM

Thanks a bunch, I see a loop in one of your routines that looks promising, I will post my pseudocode over in the Poser Python forum.

Danborn