Tekitoumen opened this issue on Jun 29, 2022 · 4 posts
Tekitoumen posted Wed, 29 June 2022 at 9:43 PM
Hello.
I want to do this with Poser Python
・Change the mesh vertices (coordinates) of the model
-> Export
-> Change the mesh vertices (coordinates) of the model
-> Export ・・・
I want to repeat.
Please tell me the following.
Or, if you know any reference materials or videos, please tell me...
-Basic usage of PoserPython
-How to change the mesh vertices (coordinates) of the model by Python
-How to export model image data (obj) in Python
Thank you.
Liquid_Ice posted Thu, 30 June 2022 at 4:25 PM
I cannot help you with python but i wonder why you want to do this.
FVerbaas posted Sat, 02 July 2022 at 5:55 PM Forum Coordinator
Poser used to come with be a set of example scripts in the geomods folder. Not sure if it still exists in P12.
Saving geometry to file does need some explanation.
Current PoserPython comes with a (pretty old) ExportGeom class that provides export to .obj and collada, and a few more. It does not support .fbx, .stel or Alembic.
The method doing the actual export loops over all the actors in the scene and for each actor calls a user-defined method that returns a boolean value to indicate whether the geometry of the actor is to be included in the export.
I have a faster method original, by adp001, extended by yours truly, to write .obj's of a prop or a figure. Drop me a site mail if you want a copy.
Tekitoumen posted Wed, 20 July 2022 at 11:54 PM
Sorry for replying late.
I want to edit the model for each frame of the moving model.
(For example, I want to give the model a walking animation and do something that makes the breathing rougher every frame)
Also, I want to output as an obj file for each frame.
Manually editing the model for each frame is time consuming, so I'm trying to automate it with a script.
So I asked a question like this.
I'm just getting started and I don't understand enough. Now that I have the reference documentation, I would like to study here first.
I'm also asking questions about the above in the Poser Python Script room. If you know anything, I would be grateful if you could tell me.
Thank you for your kindness.