BVtkNodes icon indicating copy to clipboard operation
BVtkNodes copied to clipboard

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

Open ymg2007 opened this issue 2 years ago • 3 comments

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?

ymg2007 avatar Mar 02 '22 07:03 ymg2007

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.

tkeskita avatar Mar 02 '22 18:03 tkeskita

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

ymg2007 avatar Mar 03 '22 01:03 ymg2007

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.

tkeskita avatar Mar 06 '22 15:03 tkeskita