Star Lattice

by Tuğrul Yazar | May 15, 2023 18:58

This is the six-pointed star lattice definition in Grasshopper. The definition is generating CNC or laser-ready results as seen below. In this code, first, I developed a common star pattern by exploding a hexagonal grid. The tricky part of this definition is the last part. There, you can see how you can use the Region Union (RUnion) component to add thickness to a pattern we have drawn before. The operation here will require trimming and extending commands under normal conditions. However, closed curves that are shifted outward from star shapes can be combined with the help of Region Union (RUnion). So that you can delete the overlapping parts between them. I used a second Offset component for the inner stars.

I recommend that you can try the same process in different patterns that are irregular. Although the Region Union component is problematic sometimes, this definition runs smoothly in most cases. One thing to note is when we explode closed polylines like here. The code repeats the first and last element of the list of points from the V output. Therefore, before knitting the points forming the star with Weave, I deleted one point from each list. I did this with the help of a Cull component and corrected that issue.

star lattice
[1]

You can rebuild the definition by looking at the definition and the explanation above. However, if you want to support this website by downloading my Grasshopper file; would you consider being my Patreon? Here is the link to my Patreon page[2] including the working Grasshopper files for the Star Lattice and more.

Endnotes:
  1. [Image]: https://www.designcoding.net/decoder/wp-content/uploads/2023/05/2023_05_15-star-lattice-def.jpg
  2. Here is the link to my Patreon page: https://www.patreon.com/posts/star-lattice-83039750?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=postshare_creator&utm_content=join_link

Source URL: https://www.designcoding.net/star-lattice/