Sun, Feb 16, 2:12 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: 2025 Feb 05 6:41 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: dynamic hair scripts?


dorkmcgork ( ) posted Thu, 11 November 2010 at 1:16 AM · edited Sat, 15 February 2025 at 7:01 AM

would it be possible to make a styling script in python?  say after growing the hair to some particular length, to "cut" the hair with some object, which i would suppose unlengthen it to a particular point.

styling is not as bad as attempting to make the hairs roughly the same length.  that is not fun.

go that way really fast.
if something gets in your way
turn


semidieu ( ) posted Thu, 11 November 2010 at 4:05 AM

Python has access to the hair parameters. I don't think it's possible to cut the hair with a prop intersection.


Dizzi ( ) posted Thu, 11 November 2010 at 12:03 PM

Well, I can think of a few ways to do that, I'm just not sure if the interpolation between the guide hairs will like all of those ways. I'll try a few things.



nruddock ( ) posted Thu, 11 November 2010 at 1:57 PM

You can adjust the positions of the vertices in the guide hairs just like any other geometry.

What you can't do is remove vertices.


dorkmcgork ( ) posted Thu, 11 November 2010 at 11:22 PM

i figured it would not delete hair verts, but to perhaps make the endpoints of the hair line up against an object of some type

it would be cool to hold the endpoints and move the insides of the hair around.  i don't imagine that is possible in any way in python either,  but i wonder why they wouldn't include something like that in the software itself. 

maybe this comes closer to modeling than the designers like.

go that way really fast.
if something gets in your way
turn


Dizzi ( ) posted Fri, 12 November 2010 at 6:12 AM

You can manipulate the hairs in any way you want with Python (only guide hairs or the populated hairs (the later is not really fast though, it'll take minutes to curl up all hairs ;-)))



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.