Punch Holes on a Surface with region

Hi everyone. In my design there are infill panels within this structure. The infill need to have variation of solid and viod to achieve the region difference.

As my structure is now all join into a curve. Now I am facing problem of separating each unit into an individual cell.
I wish to separate the cells into two region. Some of them empty and some of them have infill panel. The region is as shown in the image below.



My question is , is there any way to spread the curve into individual cells, and make surface within the selected unit?
Welcome to have a look for my GH file :slight_smile:
INFILL UNIT IN STRUCTURE.gh (32.1 KB)
Great appreciation for those who could help, I’m stuck at here for my whole day!

Like this?


INFILL UNIT IN STRUCTURE_re.gh (42.7 KB)

Thanks HS_Kim. But the component “Curve Middle” is not found in my PC, can you share the link or source for me?
My Rhino 6 doesn’t have the ‘Package Manager’.

INFILL UNIT IN STRUCTURE_rev2.gh (40.8 KB)

INFILL UNIT IN STRUCTURE_rev3.gh (41.4 KB)

Works well, thank you very much!

Sorry for asking again, but I’m really curious about the theory. What make the difference between rev2 and rev3? I found there is not much change in the components but one of it is trimmed, how did you made it?

See “White group”.

Still can’t find the difference :face_with_monocle: :face_with_monocle: