Sun, Feb 16, 6:05 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Feb 15 11:01 am)



Subject: Poser Python utility assistance (help)


maxxxmodelz ( ) posted Mon, 04 October 2004 at 6:53 PM · edited Thu, 23 January 2025 at 4:27 PM

I'm in desperate need of a python script that can take one or more elements of a figure's pose at any one single frame and repeat it across multiple frames in an animation. Exactly like the "repeater.py" utility does, only this would take just one and use that on as many frames as needed. I already tried to specify just one frame using Repeater.py by setting both the "start frame of source" and the "end frame of source" to frame 001, but it didn't work (much to my dismay). I'm trying to clean up an imported BVH that has caused some havoc on the figure in certain areas. I did order that "motion fixer" application from the store, but from what I understand, attaining the serial code for it can take some time, and I need to finish this tonight. :-(


Tools :  3dsmax 2015, Daz Studio 4.6, PoserPro 2012, Blender v2.74

System: Pentium QuadCore i7, under Win 8, GeForce GTX 780 / 2GB GPU.


PhilC ( ) posted Mon, 04 October 2004 at 7:33 PM

Can you not just edit it in the Poser animation and graph window?

philc_agatha_white_on_black.jpg


maxxxmodelz ( ) posted Mon, 04 October 2004 at 7:53 PM

Sure I could, Phil. But we're talking about two hands, five fingers, and 3 segments to every finger. Each segment would have to be adjusted individually, one by one in the graph editor. With Python, I'm thinking I could do them much faster just by copying the pose from one particular frame to all the other frames of multiple elements at once.. Is there an easier way I'm just overlooking?


Tools :  3dsmax 2015, Daz Studio 4.6, PoserPro 2012, Blender v2.74

System: Pentium QuadCore i7, under Win 8, GeForce GTX 780 / 2GB GPU.


PhilC ( ) posted Mon, 04 October 2004 at 8:31 PM

Attached Link: http://www.philc.net/tutorial7.htm

You have a hand and finger pose at frame 'a' that you want to keep constant till frame 'b'? Look at the animation tutorial on my site. A similar method will work here. Set frame 'a'. Set frame 'b'. Highlight mid frames and delete. Use linear section and possibly spline break 'a' and 'b'. Or send me the pose file and I'll edit it no problem. pcooke@philc.net

philc_agatha_white_on_black.jpg


maxxxmodelz ( ) posted Mon, 04 October 2004 at 8:59 PM

Thanks, Phil. I've actually been doing that meathod all along, but I guess I was just hoping there was a way to select more than one element of the figure at once, and adjust specific parameters for all of them at the same time along the timeline (ie., to zero the "bend" parameter on all the fingers and segments of each finger in one shot). If I'm not making sense, I must apologize. I've been screwing with this graph editor for quite a while now, and I'm worse for wear.. LOL


Tools :  3dsmax 2015, Daz Studio 4.6, PoserPro 2012, Blender v2.74

System: Pentium QuadCore i7, under Win 8, GeForce GTX 780 / 2GB GPU.


PhilC ( ) posted Mon, 04 October 2004 at 9:03 PM

Or...

Save pose 'a' as a hand file and apply it to each frame up to 'b'

philc_agatha_white_on_black.jpg


PhilC ( ) posted Mon, 04 October 2004 at 9:06 PM

Or...

You can shift/click in the animation window to multi select all hand parts over the range.

philc_agatha_white_on_black.jpg


maxxxmodelz ( ) posted Mon, 04 October 2004 at 9:10 PM

That's the ticket! What was throwing me off was that I kept forgetting to delete the keyframes first... every frame was keyframed when the BVH was imported. But that technique does work well. Thanks!


Tools :  3dsmax 2015, Daz Studio 4.6, PoserPro 2012, Blender v2.74

System: Pentium QuadCore i7, under Win 8, GeForce GTX 780 / 2GB GPU.


ockham ( ) posted Mon, 04 October 2004 at 10:05 PM

Sounds like you found a trick that will work. But I should come up with a script that will handle your job. Oddly enough, it's a task I do fairly often, but hadn't written a script for it. The times when I needed to do the job, I was up against a deadline, and it seemed faster to just do it by the keygraph than to write the script; then after the deadline was finished, I forgot about it. Like fixing the roof when it rains.

My python page
My ShareCG freebies


ockham ( ) posted Mon, 04 October 2004 at 10:21 PM · edited Mon, 04 October 2004 at 10:26 PM

Attached Link: ockhamsbungalow.com/Python/HoldStill.zip

file_132305.jpg

Here's the script in case you can still use it.

Works pretty much like repeater. If you
have a selected figure, it lists all the
body parts; if not, it lists all props.
If you don't highlight anything, the entire
list is used.

Message edited on: 10/04/2004 22:26

My python page
My ShareCG freebies


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.