Wed, Jan 8, 5:00 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 Dec 02 3:16 pm)

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: A4 script idea-need


grichter ( ) posted Wed, 20 February 2008 at 8:54 PM · edited Fri, 03 January 2025 at 3:45 AM

If you have played with A4 at all you will notice that daz has set most if not all the morph dials to not go below 0 (Poser). Granted you can open the settings and change them one by one to a min of -1.0 or whatever your heart desires. Script idea is a way to in mass change all the minimum dials to either an input number like -1.0 or a series of check boxes like -0.5, -1.0, -1.5 that you select one and that is the vaule you change to in mass. Not sure which is easier to program (input a number vs check boxes) is why I gave two examples. Using check boxes makes it idot proof that somebody puts in a postiive value of 1.0 in the min , where the max is set to a positive value of 1.0 and they render the dial useless and you have to deal with the support issue. I will gladly pay for a script that can do this via either of theese examples or even dosmething completely different if what I suggest is even possible. Thanks Gary PS: waiting for the first reply that says this script already exists and the link (snicker) PSS: Or is min value of the morph dials something I can change in the A4 cr2 with a mass search and replace?

Gary

"Those who lose themselves in a passion lose less than those who lose their passion"


Gareee ( ) posted Wed, 20 February 2008 at 9:52 PM

The problem with a mass serch and replace in a cr2, is you'll end up changeing th elimits on all the joints as well.

If that doesn't bother you, it' s no big, but I know many figures are joint limited for "best possible" use.

Way too many people take way too many things way too seriously.


markschum ( ) posted Thu, 21 February 2008 at 12:18 AM · edited Thu, 21 February 2008 at 12:26 AM

Its easy enough to avoid the translate and rotate dials when doing this sort of change .

in the parameter info IsMorphtarget identifies the morphs and Minvalue and SetMinValue will tell if it needs to be set  .

So loop through all body parts, all parameters , check if morph, check if minval == 0 and set it to some - value , then save the figure  to store the changed values in the cr2 .


Miss Nancy ( ) posted Thu, 21 February 2008 at 12:20 AM

check the a4 cr2 file for statements such as:
forcelimits 0
forcelimits 1
forcelimits 4
et al.
I haven't got a4, but v4 base.cr2 is full of "forcelimits 1" for the dials.



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.