How can I create an infill pattern like this in grasshopper?


Pattern.3dm (146.1 KB)

Iā€™d do it like this:

  1. divide each curve into something like 200 points (maybe 100?)
  2. make an interpolated curve that goes between each even numbered point on one curve and every odd numbered point o the other curve.
    You could use a Nurbs curve for less curvature, or a polyline curve for sharp corners.

something like this


zigzag.gh (19.4 KB)

2 Likes

Iā€™m surprised that Combine works like that. I would have used Weave. And used PLine (PolyLine) instead of IntCrv with ā€˜Dā€™ (Degree) 1.

zigzag_2023Dec8a

2 Likes

Weave is probably a better solution semantically.

Thank you very much!

Thanks for your help. What does the weave component do?

Weave is just like it sounds; based on the pattern (ā€˜Pā€™ input), it uses one item from the ā€˜0ā€™ input, then one from the ā€˜1ā€™ input, and repeats. You can zoom in to add more inputs, like List Item.