Tue, Nov 26, 5:08 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: 2024 Sep 18 2:50 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: usefull for python script programming (Python Computer Graphics Kit)


andygraph ( ) posted Sat, 25 February 2006 at 1:34 PM ยท edited Tue, 26 November 2024 at 5:04 PM

http://cgkit.sourceforge.net/doc2/ ;-)


stewer ( ) posted Mon, 06 March 2006 at 1:59 PM

It's pretty nice. I've been using it for my Poser/RenderMan connection script.


MRMH ( ) posted Mon, 06 March 2006 at 6:32 PM

Thanx, I need learn all this.


gezinorgiva ( ) posted Tue, 07 March 2006 at 10:52 AM

I have been interested for some time now to try learning Python. Have installed Python, Stanis Python Editor and obtained a copy of Python in a Nutshell by Alex Martelli (March 2003) and Beginning Python (Wiley) from last year. Do the Python experts here think it is a good enough kit to make a start or can recommend other resources helpful for a beginner? Thank you.


nruddock ( ) posted Tue, 07 March 2006 at 1:59 PM

"is it a good enough kit to make a start or can recommend other resources helpful for a beginner?"
For Python in general this should be enough (browsing the documention to get familiar with the various modules is recommended).

You'll probably want to track down some information on tkInter (for building GUIs).
Documentation and tutorials for tk itself will help.

For Python that has been embedded into an application (e.g. Poser or Shade) you will learn a lot from looking at scripts writtern specifically for that application.


gezinorgiva ( ) posted Tue, 07 March 2006 at 2:19 PM

OK thanks for that- I picked up an Introduction to tkinter pdf from pythonware (and something called the PIL library as well). I was thinking of trying to make sense out of Blender scripts first rather than Poser (Shade seems like a bit of a problem) on the grounds that it is open source-would that be sensible way to go?


nruddock ( ) posted Tue, 07 March 2006 at 3:38 PM

Like the applications themselves, each scripting implementation has it's own quirks.
The basic Python stuff isn't difficult to get the hang of, but for the application specific stuff nothing but experimentation will help you understand what is required.

Blender has it's own (OpenGL based) GUI toolkit.
Another alternative GUI toolkit is wxWindows.

For extension libraries like PIL which have native components (DLLs or SOs) you need to make sure that you get a version compiled for the correct version of Python.
Installing them can also be tricky as not all embedded implementations make the registry entries Windows installers rely on, meaning you'll need to know where to put the files.


gezinorgiva ( ) posted Tue, 07 March 2006 at 5:10 PM

OK I hear you; think I better get to grips with what I have already before I venture anything more complicated. Once again,your advice is much appreciated.


gezinorgiva ( ) posted Wed, 08 March 2006 at 9:56 AM

Well my installations all seem to be working OK. Commenced with Python Babysteps Tutorial at http://www.coolnamehere.com/geekery/python/pythontut.html and did "Hello,world" and "Enter your name"! Well its a start; you cant finish if you dont start. Next up is Python for Newbies at http://npt.cc.rsu.ru/user/wanderer/ODP/Python_for_Newbies.htm


odf ( ) posted Sun, 19 March 2006 at 10:27 PM
Online Now!

That looks pretty interesting. Thanks for the link!

-- I'm not mad at you, just Westphalian.


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.