To create perforated pattern with line attractor on parametric facade

I had an idea… :thinking: The current method of projecting a grid of holes onto the facade makes all the panels (faces) unique, which increases the difficulty and cost of building it. The idea is that distance between each face and the attractor curve could determine a hole pattern, limiting the number of unique panels, making it easier and cheaper to construct.

To test this idea, I used four holes of the same size (determined by attractor distance) on each non-planar face. A Range of hole sizes is defined (‘MinR’ to ‘MaxR’ domain) with 7 steps.

Planar faces (a different GH model) are roughly half the size of non-planar faces so only one hole is used, which required changes to the “cut holes” group. The concept is the same though, that the pattern is determined by distance from panels to the attractor curve.

I added ‘NP’ and ‘P’ to the GH filenames to distinguish between non-planar and planar faces.

facade_NP_2024Nov3a.gh (51.6 KB)
facade_P_2024Nov3a.gh (48.9 KB)

This image shows code in version ‘NP’. Note that a new group was added at the lower left to create attractor curves (light teal color):

The pay-off is in the gold colored group on the right. Version ‘NP’ shows two faces before holes. The whole facade is built by replicating them, though mirrored copies must be counted so double these numbers. After holes are cut, there are 14 unique panels to be constructed and replicated (actually 28 counting the mirrored panels).

Version ‘P’ has twice as many panels (roughly half the size): 4 before holes are cut, 28 after. Planar panels might be flipped instead of mirrored?

These models create all four walls of the building, two of them hidden in the Mirror component shown in the orange group. More work is required to mirror them after holes are cut.

Version ‘NP(non-planar, lofted, four holes per panel):

Version ‘P(planar, single hole per panel, slightly greater diameter):