Thu, Dec 26, 7:30 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Dec 23 7:38 pm)



Subject: Conforming Clothing Scripts?


alpha117 ( ) posted Tue, 10 July 2007 at 2:28 PM · edited Thu, 26 December 2024 at 7:18 AM

We all know how tedious it is to conform each item to the main figure, especially if the clothing has many items. I was wondering if there is a way to conforming all items in one go, perhaps a script or somethink.

Many Thanks


kalon ( ) posted Tue, 10 July 2007 at 2:32 PM

There are a few scripts, this is just one (script is in the first message- looks like a txt file, you'll have to download and change the extension)
www.renderosity.com/mod/forumpro/showthread.php

Try searching the Poser Python Scripting forum for "conform" and search beyond 45 days out.

kalonart.com


alpha117 ( ) posted Tue, 10 July 2007 at 2:49 PM

thanks

Extension to .py?


alpha117 ( ) posted Tue, 10 July 2007 at 3:03 PM

Ok, just changed it to .py and it works a treat, what a time saver. Many Thanks.

Just need to know if it is possible to run two scripts together.


Cage ( ) posted Tue, 10 July 2007 at 3:18 PM · edited Tue, 10 July 2007 at 3:18 PM

Run multiple scripts with one click?  Python scripts can call one another, so you can create a sort of runner script.

#######

import poser

poser.ExecFile("Runtime:folder:script1.py")
poser.ExecFile("Runtime:folder:script2.py")
poser.ExecFile("Runtime:folder:anotherscript.py")

The above lines between the # signs should work as a script if saved as a .py file.  Change the paths as needed, using Poser's Mac-style relative Runtime paths.  As far as I can tell from my own experiments, the colon before "Runtime" should be omitted for these, although I'm not sure why....

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


infinity10 ( ) posted Tue, 10 July 2007 at 10:53 PM

cage - the scripts have to be cleared from memory before next one can execute ie sequential execution, ? 

(I am not python programmer,but do know that I can't get more than 1 python script working inside of my Poser 7.  So a sequential execution is what you're saying, right ?)

Eternal Hobbyist

 


Cage ( ) posted Tue, 10 July 2007 at 11:12 PM

I suppose you could say sequential execution, yes.  The short script sample I posted would automate the sequential running of multiple scripts.  It sort of reads to me like perhaps you have a different problem than I thought, however.  What exactly do you want, when you ask about two scripts running together?  One script can run another script, as I showed.  You're trying to manaully run two or more scripts at the same time, perhaps?

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


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.