Wed, Nov 27, 6:08 AM 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: For Ockham


numanoid ( ) posted Tue, 24 February 2004 at 8:16 PM ยท edited Sat, 23 November 2024 at 2:01 PM

file_99877.gif

First test, here are the results. Also trying to think of how to organise categories. Pity it won't let you do it horizontally, then you could keep it neatly tucked out of the way in the top right corner, which is unused space.


numanoid ( ) posted Tue, 24 February 2004 at 8:18 PM

file_99878.gif

And if the nice folk at CLabs could find some really hot programmer, and release a SR5, we could have something like this. I love to dream. Note the last button. Lol.


numanoid ( ) posted Tue, 24 February 2004 at 8:59 PM

Been testing some more. It will also need a delete script button, otherwise you would have to manually edit to remove a script. Also figured out that if all my scripts have the same length names it looks a lot neater, lol. How does the order in which it adds scripts work? Random? Not alphabetical, so how does it decide which script goes where? Back to testing.


ockham ( ) posted Wed, 25 February 2004 at 10:14 AM

Still working on it. There is a delete action: just right-click. I'm rigging up a way to move buttons into chosen columns, so as to form topic groups. Don't hold your breath for Poser 6. A menu like that would be easy to program in C, but Python is clearly not anywhere near their priority list. Actually, the "make art" button will probably happen before a good Python menu!

My python page
My ShareCG freebies


numanoid ( ) posted Wed, 25 February 2004 at 7:17 PM

The "make art" button is easy. Even I can program it. Render a pic of a NVIATWAS, and make a python script that loads that picture as the background image, then all the user has to do is render and they have art, lol. They will all have exactly the same art, but it will solve the hassle of taking all that time to dress and pose the figures to produce identical art.


numanoid ( ) posted Wed, 25 February 2004 at 7:20 PM

Although I must admit that your NVIATWAS was really original. Took me a while to catch the joke.


ockham ( ) posted Wed, 25 February 2004 at 10:47 PM

On the "Make Art" script: Go for it! Naked Vicky in a Temple with a Stapes was an inside joke -- in two ways. I'm glad somebody got it! The main purpose was to motivate myself at a time when I needed to get my ass in gear on the Hearing Anatomy stuff. Luckily it worked.

My python page
My ShareCG freebies


numanoid ( ) posted Mon, 01 March 2004 at 11:34 PM

file_99879.gif

OK, been thinking. If the first column loaded the button file, and the second column loaded the contents of the button file, you could have 100 scripts. You add new python scripts to the second column, and the python writes the location of the file into the button file in the first column. All all you have to do is set up ten button files for the first column with names, like render, animation, motion, whatever you need, and add your scripts in the second column. Once you have added all your scripts, you only have to run multipanel from the main python window, and up to 100 scripts are available. This way you can organise scripts into categories, and delete and add as needed. In this example idea, when you click on the animation button, it loads ten scripts into the second column. You can then add and delete in the second column. When you click on Geom, it will load the ten scripts in the button file for Geom, and you can add and delete scripts in the second column.


telezine ( ) posted Tue, 02 March 2004 at 2:55 AM

Depending on whether this needs to run on MacOS as well, you could use Windows' SendKeys function and create an external toolbar to send commands to Poser. These commands can fire at the menu itself, almost invisibly calling "file:run python script" and selecting a script with no need for interaction (or it can stop at this point and allow selection of a script manually, but there's no real point in that). This allows for a virtually limitless amount of script buttons visible at any time (imagine just having all of your favorites accessible at once), especially since you can configure the font size to as small as you're comfortable with. I've been using it for a while to run commands that have no hotkey that I want to be able to get at without menu digging. The program I use is here (such a program already exists): http://www.zoology.ubc.ca/~rikblok/software/toolbar/index.html As for MacOS, there is probably a way to do something similar in AppleScript. As an aside, what I would love in a service release is for those horribly oversize room tabs to go away, replaced by entries in the Window menu. I am continuously hitting the hair and cloth tabs when trying to grab the rotate view widget. ARGH!!! ;P


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.