Create python reader for a custom format

I am storing data from a simulation engine in a HDF5 file. In the file I have the positions and velocities of some triangular meshes for each simulated timestep and also the transformation (location and rotation) of some rigidbodies. I also store some metadata so I know which set of positions correspons to which timestamp.

I want to load this into Paraview, and I know I need to create my own reader, but to be honest, I have no clue where to start from. Is there any example of python reader which creates an unstructured grid whose points are animated that I could start from? I havent been able to found anyone.

1 Like

If using Python, the CSV Reader example here is a good place to start:

Here’s some general useful information about building plugins:

And for c++ based plugins check out these examples: