Tue, Feb 4, 8:48 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 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: Does this Script Exist (Poser BVH Fix)?


tvining ( ) posted Sat, 21 November 2009 at 12:53 PM · edited Mon, 05 August 2024 at 8:24 AM

I am having a problem with my imported BVH files in Poser,  in that they contain Forearm Side-Side data when, anatomically, that should remain at zero and any movement like that should be in the Shoulder Twist. My BVH files do contain Shoulder Twist data, so I can't simply transfer the Side-Side data to the Shoulder Twist, the values need to "add."

I imagine that the logic behind a Python script to do this would compare the Forearm Side-Side keyframe values to the Shoulder Twist keyframe values, and then add the Side-Side values (either positive or negative) from the Forearm to the Shoulder Twist, so a Side-Side of, say -30 plus a Twist of +10 would yield a Twist of -20. The Side-Side values would then be all set at zero.

I tried this manually on a few frames and it seems to work, but I was wondering if a Python Script exists for this? (I'll ask this in the Poser forum as well.)

Thanks--Tim


markschum ( ) posted Sat, 21 November 2009 at 2:24 PM

A python script would need to be written , but it wouldnr be that difficult.  I see Ockham has posted on your other thread.  Ockham I believe had BVH mixer on his site.


PhilC ( ) posted Sat, 21 November 2009 at 2:56 PM

Although this may not be an exact match to your problem you may like to take a look at this:-

BVH Helper


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.