Forum: Poser - OFFICIAL


Subject: Is there a Python Script for this? (Poser/BVH fix)

tvining opened this issue on Nov 21, 2009 · 8 posts


tvining posted Sat, 21 November 2009 at 1:00 PM

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."

It occurred to me that 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 Shoulder Twist of -20. The Forearm 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 Python forum as well.)

Thanks--Tim