Apply unique scale to each geometry in data set

I would like to create a parametric script in GH, that allows me to scale each geometry individually at various points along a curve. I have attached a copy of the script here.

I can explode the tree and then scale each geometry, however when I change the number of perp frames, this won’t happen parametrically. Does anyone have any suggestions on how I might go about doing this?

Shell.gh (13.3 KB)

Thanks.

Something like this is what you want to achieve?



Shell_reV1.gh (13.6 KB)