Fri, Feb 7, 5:25 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Feb 07 7:37 am)



Subject: We need a Phyton Page: with Links to all available scripts


SimonWM ( ) posted Sun, 14 December 2003 at 4:29 AM · edited Tue, 30 July 2024 at 1:06 AM

It would be nice. Specially Ockham's. I wish somebody would put together a page like the one for Dr. Geep's tutorials.


SimonWM ( ) posted Sun, 14 December 2003 at 4:32 AM

Also wouldn't it be nice to be able to make a Toolbar with icons for your most used phyton scripts where you could tell Poser to display this toolbar everytime it opens. I know we have the Phyton toolbox but i'm thinking something like Photoshop's toolbar, more windows like.


TrekkieGrrrl ( ) posted Sun, 14 December 2003 at 5:12 AM

I only wish someone could explain to me (in VERY basic terms) how to put your existing scripts on those buttons in the Python window and have them STAY there after you've closed Poser...

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You just can't put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
  Using Poser since 2002. Currently at Version 11.1 - Win 10.



PhilC ( ) posted Sun, 14 December 2003 at 6:17 AM

To permanently set the buttons use Notepad to edit the file RuntimePythonPoserScriptsmainButtons.py . Remember to save in PY format. Its not complicated, just open that file in Notepad and you'll see what I mean.

philc_agatha_white_on_black.jpg


Marque ( ) posted Sun, 14 December 2003 at 9:05 AM

How many buttons can you have open? Thanks, Marque


Connatic ( ) posted Sun, 14 December 2003 at 9:36 AM

how do you save the in .py format? Is there a script that will save the changes to the button menu?


ockham ( ) posted Sun, 14 December 2003 at 11:25 AM

Attached Link: http://ockhamsbungalow.com/Python

If you want to pick up all my scripts at once, just go to the Python page on my website and download the ZIPs. Most of them contain a readme that explains the purpose; if not, the first few lines of the script itself will usually give instructions.

My python page
My ShareCG freebies


ockham ( ) posted Sun, 14 December 2003 at 11:26 AM

Look at my one-picture tutorial. ockhamsbungalow.com/Python/manual.jpg

My python page
My ShareCG freebies


ockham ( ) posted Sun, 14 December 2003 at 11:29 AM

The .py file is just a plain text file. If you're using a word processor other than Notepad, force the file to save in plain text format. Also, Notepad normally puts a .TXT extension on every filename, so you have to specify the name fully.

My python page
My ShareCG freebies


PhilC ( ) posted Sun, 14 December 2003 at 11:35 AM

In Wordpad I often save with the file name in quotation marks .... "fileName.py" or "newFigure.cr2" This forces it to save in my designated extension.

philc_agatha_white_on_black.jpg


SimonWM ( ) posted Sun, 14 December 2003 at 11:55 AM

Thanks for the replies. Now I wonder if I can have more than 10 buttons by adding lines to mainButtons.py?


PhilC ( ) posted Sun, 14 December 2003 at 12:04 PM

file_88860.jpg

Sadly, apparently not.

philc_agatha_white_on_black.jpg


SimonWM ( ) posted Sun, 14 December 2003 at 12:58 PM

Thanks PhilC I was about to try it myself.


jjsemp ( ) posted Sun, 14 December 2003 at 1:06 PM

If there were a "Poser Hall of Fame," I think Phil C and ockham should be the first to be voted in. Since you're both here, I just wanted to say "Thanks!" I use your utilities and creations all the time. -jjsemp


layingback ( ) posted Sun, 14 December 2003 at 2:33 PM

Easiest way to add more buttons is thru nesting. Copy mainbuttons.py to a new name, e.g. mybuttons1.py, and use one button in mainbuttons.py to call mybuttons1.py, which in turn can call up to 9 new .py scripts in buttons 1 thru 9. For button 10 put in a call back to mainbuttons.py. Placing nested calls in each of the original 10 buttons will give you 90 scripts within just 1 level of nesting.


ronstuff ( ) posted Sun, 14 December 2003 at 4:14 PM

Since Poser only allows 10 buttons per page, my Main.py is is just an index to 9 additional pages - each of those pages has the last button set to reload the Main.py. I also group my scripts by function on each page, and some of those like Lighting Scripts have sub-pages.


Ben_Dover ( ) posted Sun, 14 December 2003 at 11:06 PM

Great tip, that nesting stuff. Thanks a lot.


evilded777 ( ) posted Mon, 15 December 2003 at 8:57 AM

Or... by Powerdials from DAZ3D. I really don't use the Powerdials, haven't really figured them out. But the Python button manager is worth the price of admission. I have all my Ockham scripts under one button, my DAZ scripts under another button, EC Scripts, etc. And it took about 2 minutes to do it. Of course, you can do it the tried and true manual way.


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.