GH - Uniform Cairo Tiling Across Multiple Varying Surface Inputs

This is somewhat of a follow-up to a previous post I made [Subdivide a surface into pentagonal shapes in Grasshopper] but given that I had new challenges arise from that, I decided to start over with a fresh post.

I’m trying to generate a Grasshopper facade script made of Cairo Tiling, following [@HS_Kim ]'s script found at [How can i make this pattern? - #4 by HS_Kim] as an example, as that script best matches how we want the end product to look. Our main goal though is in the script production itself as we want it to be flexible enough to accommodate for a variety of surface inputs – whether they’re doubly curved/non-coplanar, have different areas/dimensions from previous inputs, or have a more complex perimeter. However, the way the script is set up currently with the Snub Square Tiling components, they require a specified UV count in order to tile the surface input. The UV count specified in the attached PNG works great for the surface on the right (a plain standard rectangular surface), but naturally does not work as well for the input on the left (a 2-surface polysurface with a much smaller length and height than the right input). Furthermore, within the folded facade output on the left you can see that the facade output on the shorter surface is quite different compared to how the facade is generated on the longer surface next to it.

Ideally, our desired script would have the facade maintain the same composition – in respect to size/area/dimensions of cells, framing thickness between individual offsets, etc. as much as is possible – across all types of surface inputs, without needing to specify U and V parameters.

Thank you to anyone who can provide any help/feedback!


GH Cairo Tiling Script - Two Inputs.3dm (243.4 KB)
CL GH Cairo Tiling_Two Input Test.gh (44.8 KB)

DUPLICATE THREAD!!

It seems that @swojtalewicz has already linked the previous thread and is building upon it, so I don’t think this is a duplicate thread :slight_smile:

2 Likes

There are two ways to get magic.
Learn very hard or pay.

This is way out of my league, but I tried it anyway simply because I morph all sorts of surface treatments onto Closed Breps for 3D printing. I got the following result when I set up a 100 x 100 cylinder for the missing Surface component:

This GH file seems to be quite complicated for a simple shape like a cylinder. Maybe its ok for a more complex one.