VerlSnake opened this issue on Nov 17, 2009 · 5 posts
VerlSnake posted Tue, 17 November 2009 at 7:25 PM
Attached Link: Verlsnake's Allerlei
What I would like to do is: - Export a model for every nth frame in an animationI know how to export models for every frame in an animation - via "Export Wavefront OBJ - Multi frame export - Frame Range".
But unfortunately, there's no option to tell Poser to export only every nth frame ...
Is there any unofficial way to export a model
bantha posted Wed, 18 November 2009 at 12:54 AM
Not within the standard gui, but I think this should be able to do with Python. I don't know if Python can detect the keyframes, but the rest should work.
A ship in port is safe;
but that is not what ships are built for.
Sail out to sea and do new things.
-"Amazing
Grace" Hopper
Avatar image of me done by Chidori.
markschum posted Wed, 18 November 2009 at 1:07 AM
A python script would work. Every nth frame or by keyframe or by list of frame numbers can be done. You would need to build a filename yourself but thats not hard to do.
VerlSnake posted Thu, 10 December 2009 at 8:36 PM
I have something rudimentary in place - having used the existing python script 'PythonposerscriptsRenderControlexport.py' as a blueprint ...
BUT: Multiframe Export doesn't seem to function from script:
When I call
myExportObject.Export('obj', 'File Format Wavefront', '/Keyframes/Keyframe.obj', exportOptions)
with
exportOptions[poser.kExOptCodeMULTIFRAME] = 0
then the current figure is output
When I call the same method with
exportOptions[poser.kExOptCodeMULTIFRAME] = 1
then NOTHING happens ...
My script IS actually cruising the keyframes of the current animation, but the Multiframe Export method is not working properly ... A known bug ?
VerlSnake posted Tue, 16 February 2010 at 2:01 PM
New enlightenment: I don't need 'Multiframe Export' in this case; the 'Export' function exports the current keyframe object automatically !
So I've set
And all keyframe models are output automatically !