Grasshopper Basket Weave Pattern Help

Hello there!

I am a rhino/grasshopper beginner and have been following this YouTube tutorial to create a woven basket-like facade on a surface: https://www.youtube.com/watch?v=ULjEDLu4Dx4.

I followed the tutorial very closely, however have ended up with some minor problems, shown below. Some of the weaves appear to overlap, and I’m not sure how to fix it. I’m assuming that reducing the width of the weaves might solve the issue, with some empty space between each one. More light would be let through this way which would be great.

I would like the weave to go horizontal rather than vertical, so any help on this would be greatly appreciated. For more clarification, I would like the pipes to be vertical while the weave is horizontal (see reference image below).

Additionally, any idea on how to add some permeability to the weave itself? Thinking some holes that could represent a steel facade materiality.

I have attached both the grasshopper and rhino files below, thank you!

Basket_weave_forum.3dm (10.6 MB)
Basket_weave_forum.gh (16.7 KB)

youtube video:

your definition:

after that change:

on a side note, I’d suggest to never connect multiple wires to the same input using shift, but always use MERGE Component to do that: when you connect multiple data trees together to the same input, the order in which items from the same branches were inserted would be impossible to recognize by just looking at the gh definition, so the habit to visually Merge stuff together with a Merge component will just save many hours of your time later on

if you want to swap direction of the strips you’ll need to play around mainly with the Flip Matrix components scattered around in the definition, and take care that you are not happy anymore to have any amount of vertical pipes but you want them also to be an even number (strips are traveling on top / on bottom / on top / on bottom… you don’t want the last pipe to have a strip traveling on top and also the first pipe to have again a strip traveling on top: in order for go up and down continuously they need to be an even total number):

also, as you want to have Closed Lofts, first and last curves should not be overlapping, so I deleted the very last branch at the beginning of the definition with a weird expedient (there are better ways to do this…)

to add hole you can divide surface again, draw circles, pull those to the surface and split it (but it’s pretty intensive on the CPU, around 25 secs on my pc, so I’m disabling the component in the attached file)

Basket_weave_forum_inno.gh (64.3 KB)

2 Likes

Hi Inno,

Wow that’s perfect thank you so much, makes a lot of sense. Not good I didn’t notice the mistake in my script, thanks for pointing that out. Is there any way to change the density of the perforations? I’m guessing it is in the Expression you added to the script, although I don’t quite understand them.

these two sliders control the number of holes:

the top slider sets the number of holes along the length of each stripe, as multiplier of the amount of poles, so -theoretically in a perfect geometrical situation- with that slider you could set the number of holes between two poles

the bottom slider sets the number of holes along the direction of each pole (in reality it creates n+2 circles then deletes first and last, in such a way you don’t end up woth holes on the boundary of the stripe itself)

Basket_weave_forum_inno_2.gh (67.6 KB)
(I did a small change to the definition by adding expressions in this last Divide Surface inputs)