Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
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
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
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
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.
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.