Replacing Trimmed Hexagons with Full Pattern

Hi Everyone,

I have the attached hexagon pattern. What I’m trying to achieve is to replace the trimmed red hexagons with full hexagons (like the white ones), so that the entire pattern is same without any trimmed pieces.

without changing the order of the pattern (it is ok if the pattern exceed the boundary curve , the goal is to replace the whole pattern with the trimmed ones)

Do you have any suggestions on how to do this?

Replacing trimmed pattern with non trimmed.gh (238.3 KB)

One way is to calculate collisions between your boundary and the hexagons , then take collided hexagons and replace them with trimmed ones.
I can make the file later when I get to my pc .

1 Like

sounds logical but not really sure how to calculate that distance, will appreciate you if you can show me that when you are free

Replacing trimmed pattern with non trimmed_rp01.gh (242.2 KB)

2 Likes

It looks like you’re overcomplicating it - there’s no point even opening Gh for this - copy one of your hexagons, make a rectangular array and you’re done?

1 Like

İ have more than 200 different panels, not easy to do it manually

If you use SelBoundary - this is a 1 minute job

I used it and didn’t work on my case and not fast enough. i used Rhino for almost 8 years and ı really know when i use it or using grasshopper :grinning_face: thanks for your suggestions tho

it took about 40 seconds

1 Like

3 Likes