Select smaller panels closer to a curve

Hi guys.
Can you help me with something?

I have a curtain wall made in grasshopper with two sizes os panels. I would like to select the smaller panel size closer to the curve using Curve Closest point. You can see on the image

I attached also the gh file with how far Ive come.

Thank you
J

Curtain wall.gh (18.8 KB)
curtain wall.3dm (53.5 KB)

How much control do you need? Also the curve deviates from the blocks so this basic approach is affected as the curve moves further away.


Curtain wall mod.gh (18.7 KB)

1 Like

Problem im having are those gaps where the distance delete the bigger panel and also the smaller one. I would need to fill all the gaps with the smaller panel at least.

So the idea is to select the smaller panel closer to the curve and have the bigger ones further to the curve… controlled by distance…

Thanks!

Change approach.
All “big panels”.
With a distance based rule, dispatch “near” big panels and “far” big panels.
Then, pick “near” big panels and subdivide them. (replace each panel with 2 smaller, 2 halves)

3 Likes

That sounds like a good approach… will try that now.
Thanks!

Curtain wall.gh (29.1 KB)

3 Likes

Amazing! thank you!