Grid from circle centers

grid_from_circle_centers

grid_from_circle_centers.gh (12.5 KB)

Hello, I am looking for a way to fit lines the way shown on the screenshot by the orange lines. I don’t know if there is a logical way to organise the points to do so. Thanks in advance,

grid_from_circle_centers.gh (13.3 KB)

But the circle centers are not in straight lines (top view):