Sample planes from CSV

Hi everyone,

I have a set of planes (slices) from a CFD solution at different z positions and a csv with points in space. Now I am interested in sampling the surroundings of each of these points and save some local maxima/minima for each of these points.

What I think could work using pvpython is:

  • Iterate through the points on the CSV
  • Apply circular clip with center on point
  • Query for maximas and minimas
  • Delete and pass to the next point

Since I have a considerable amount of points (>8000) distributed on 300 different planes this whole process could become very time consuming

Is there a proper way to do it?

Thanks in advance