Hi @pmn77 and everyone,
FYI: I’ve updated my version of BVTKNodes. Now it has possibility to add/edit custom code in Blender Text Editor (‘BVTK’ text block) for VTK nodes. You find buttons for editing and saving custom code in Properties tab. This makes it possible to provide custom commands per node, which really is required for many VTK Nodes. This example uses vtkPassArrays to filter to a single point data array, which is processed further:
Another improvement I did is changing time steps. Now, if there is Time Selector node in BVTK Node tree, then the time step is updated for it when frame number is changed in Blender’s animation timeline. This makes it possible to make VTK to update it’s data according to time steps, so it is possible to render transient data into animation!
Here is animation video of OpenFOAM damBreak tutorial case (writeInterval 0.005;):
damBreak_tut_001_ani1.mkv (327.8 KB)
Edit: Full disclosure: Blender 2.82 crashed three times during rendering of 200 frames.
Here is one example still frame rendered:
I used this node setup:
As you can see, it is a bit complex and requires quite some custom code (thanks to Silvano Imboden for helping out to figure out those!).
Final tip: Translation, rotation and scaling of meshes produced by BVTKNodes is easiest to do afterwards in Blender by modification of object properties.