Intersecting grid with collumns

i am trying to intersect this grid with these columns, however cant get them all to intersect. Any ideas?


script:
connecting grid to panel.gh (99,9 KB)

La parte superiore di alcuni pilastri non è allineata alla superficie, quindi non interseca,
connecting grid to panel a.gh (288,3 KB)
img1