Sun, Feb 16, 6:12 PM CST

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2025 Feb 05 6:41 am)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: Toon-er script


jkm ( ) posted Fri, 01 November 2002 at 4:58 PM ยท edited Wed, 08 January 2025 at 11:23 PM

Has anybody looked into creating a Python script that will take a scene and insert the Toon node into all of the material channels where it needs to be? I've got a character I've been working on and I'd like to see how it looks Toon rendered but having to insert the Toon node into each material for each object seems like a huge amount of work.


ockham ( ) posted Sat, 02 November 2002 at 8:49 AM

As I answered a similar question about new features in the Lights: This is definitely the -type- of action that a Python script can do easily and conveniently. But CL hasn't yet inserted the new P5 features into the Python function set. We'll have to wait till they do.

My python page
My ShareCG freebies


jkm ( ) posted Sat, 02 November 2002 at 10:25 AM

I'm not sure I understand. (I didn't follow the thread about the Lights that you mention.) Are you saying that Python lacks access to the Material Room node structure?


ockham ( ) posted Sat, 02 November 2002 at 3:34 PM

Python can only act on the parts of Poser that have "functions" or "interfaces" provided for it. Even in P4, some of the important actions (such as changing the number of animation frames) are unavailable to Python, which limits the range of things that can be done this way. I haven't been following the beta releases, but Poser 5 as first released had no new "interfaces" at all, which means that the new features are still not available to Python.

My python page
My ShareCG freebies


jkm ( ) posted Sat, 02 November 2002 at 5:51 PM

That sems to make Python scripting somewhat pointless then doesn't it? Most frustrating.


ockham ( ) posted Sat, 02 November 2002 at 6:05 PM

No, it's far from pointless, though the limits are frustrating. Almost everything that falls into the category of "movement" is available to Python. Every parameter of every character or prop can be moved, including parameters that are -not- available to the regular user. It's in the realm of materials where the Python connection is weakest.

My python page
My ShareCG freebies


stewer ( ) posted Wed, 06 November 2002 at 3:13 AM

CL is focussing on the non-Python features first since most customers aren't interested in Python. For Poser Pro Pack, the Service Releases added a lot of new Python functions.


jkm ( ) posted Wed, 06 November 2002 at 7:44 AM

Do the service released include documentation of the new Python functions?


stewer ( ) posted Wed, 06 November 2002 at 8:39 PM

There is a Python script (documentation.py) included with the service release that will create the documentation for you. Just run it and it'll create a file called PoserPython.txt inlcuding the docs. I think there should also be a txt2html file that will convert it to HTML.


jkm ( ) posted Thu, 07 November 2002 at 11:10 AM

Thanks. I'll check the updated documentation out once I peice my computer back together. (The boot drive died.)


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.