tkeskita / BVtkNodes

Create and execute VTK pipelines in Blender Node Editor
GNU General Public License v3.0
117 stars 20 forks source link

how to save time series openfoam data to mesh as animation without bvtknodes #82

Open ymg2007 opened 2 years ago

ymg2007 commented 2 years ago

First bvtknodes is amazing!!! I followed the cubeflow cut plane example. Then use timeline to show the plane with different time, it worked fine. image I want to save the time series mesh to an animation in blender for someone using blender without bvtknodes. So is there one way to solve the idea?

tkeskita commented 2 years ago

Hi, no easy routes to my knowledge. You can save mesh from each time step into separate files, but animation with that is not easy.

ymg2007 commented 2 years ago

Is there one way to automate save each time step to separate mesh?

tkeskita commented 2 years ago

Yes, you can use Python script which first increases frame number, then saves the mesh object. Should be easy, but I don't have exact commands. Have a look in the Blender Python API documentation.