Tue, Nov 26, 8:30 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: svdl's Scaler script


RobbyBobby ( ) posted Tue, 22 January 2008 at 6:58 AM · edited Tue, 26 November 2024 at 8:19 AM

First off I want to say how blown away I am by the talented people around here.  I've always been an "ultimate end user" when it comes to computer applications, but I wouldn't have a clue on where to start programming this stuff.

I've been using the Scaler script a lot and love how the clothing/hair change right along with the body.  I got to thinking, though, not everybody is built the same way.  For example, someone may have an elongated torso, or longer/shorter legs, that contribute to their overall height.

It sort of reminds me of an old argument that my Dad and I used to have at the dinner table regarding the difference between a midget (which was his nickname for me as a child) and a dwarf...the difference being that a midget is small, but in proportion, whereas a dwarf has mismatched (so to speak) body parts.

Anyway, the question is, could the Scaler script be modified to give the end user the ability to incorporate adjustments (using a sliding scale) to the arms, legs and/or torso in the overall height?  For that matter, even the head size is different for different folks.  Of course, those dimensions would also have to be scaled in the clothes as well.


svdl ( ) posted Tue, 22 January 2008 at 12:34 PM

It's possible. The logic behind the script will be fairly straightforward.

The main problem that I foresee is the user interface. I haven't figured out yet how to use dials or sliders in the P6 style dialog user interface - and maybe it's just plain impossible.

I am busy writing a comprehensive widget library for P6 style dialogs. I will certainly try to get working sliders or dials into the library.

Tkinter is another graphical user interface framework that comes with Poser, but in my experience it's clunky and rather unpredictable in its behavior. Besides, Tkinter on Mac doesn't work in P5 and P6 - the versions of Tkinter that are incorporated in P5 (Python 2.0) and P6(Python 2.2) are broken on Mac OSX.
The advantage of Tkinter is that it is plainly possible to make sliders - several scripts in freestuff (including at least one of mine) use Tkinter sliders.

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff


svdl ( ) posted Tue, 22 January 2008 at 6:32 PM · edited Tue, 22 January 2008 at 6:33 PM

Content Advisory! This message contains profanity

Well, that was a disappointment.

I've been twiddling for an hour an a half with the different slider, dial and scrollbar widgets in Poser, and came up with zip. Yes, I can associate a static text widget with a dial, and it'll automatically display the value the slider/dial is set to. I can even set the number format.
But there is no f*ing way I can read the displayed value into Python....

The only workaround I can think of is creating a compound widget that consists of a left nudge button, a text widget displaying a value, and a right nudge button. Sort of emulating a dial, without the mouse dragging function.

But I did find out something else: help rollovers. I can make them now, and help rollovers will be included in the library.

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff


RobbyBobby ( ) posted Wed, 23 January 2008 at 5:52 AM

All I can say is that it is way over my head...:D


parisgreek ( ) posted Thu, 24 January 2008 at 10:42 AM

Hi there,

One workaround would be using the pzrXML library with float buttons instead of sliders. It's a simple cosmetic change but could achieve the same result.


svdl ( ) posted Sat, 26 January 2008 at 9:28 PM

I'm working on a successor to pzrXml30. 
The spinner is almost done (I don't like the looks of the nudge icons, searching for better icons).

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff


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.