Waffle structure shelves on curved curves

Hello all,

I watched this video and wanted to have this shelf on my curved wall.
Screenshot 2023-04-28 185650


Unfortunately that’s why it does not work and I do not know how best to deal with it?

Can someone adapt the script for me and tell me what exactly needed to be changed?

Thank you in advance!

grundriss 28.04.2023.3dm (14.7 MB)

examplewaffle water.gh (259.6 KB)


do you know there the problem is?

I would be very happy if you could help me