Attractor point on curved roof

Hey guys,

I am working on a parametric roof using a pattern on grasshopper and want to add the option of making the structure thinner around an attractor point. I have managed to do so but it isn’t working smoothly as it functions as separate elements and the structure doesn’t curve smoothly.

img1 img2

I’ve attached the file with internalised data of the current roof and columns I am working with.

I’m relatively new to grasshopper so I am not sure how to fix this, any help would be appreciated, thanks

Salma

RoofCode.gh (689.8 KB)