Mon, Nov 25, 12:59 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: Dynamically Lengthen Hair?


danielsangeo ( ) posted Thu, 20 January 2005 at 1:12 PM · edited Sun, 24 November 2024 at 10:43 PM

I am revisiting an old thread from May 2004. My apologies. I attempted to post in that thread but got no response. You can view the thread in question here:

http://www.renderosity.com/messages.ez?Form.ShowMessage=1784146

The idea behind said Poser Python script is to lengthen dynamically grown hair over the course of an animation. Unfortunately, since I know jack about Python scripting itself, I'm totally clueless about the script.

Apparently, I'm supposed to set a variable in the script that tells the script how many frames the animation is, but I keep getting the "invalid syntax" error and I don't know where to place this frame number variable.

What am I doing wrong? Or should I be even trying to venture into Poser Python scripting without any Python background at all?

Thank you!


tromnek ( ) posted Fri, 21 January 2005 at 8:46 PM

A quick look at the script and your reported error tells me that you need to put a blank line following: print "Something wrong..." that should solve the SyntaxError.


danielsangeo ( ) posted Sat, 22 January 2005 at 7:48 AM

Thank you, thank you, thank you!

That was exactly the problem! You're a life saver, tromnek!

And thank you, NRuddock for originally posting the script! You two have just increased my Poser usability a thousandfold!


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.