Hello everyone!

I’m trying to create a grasshopper definition that given a base surface, it will create something that looks like this:

The method I have now is super hacky, but it goes like this:

I take the base surface:

I cut it lengthwise with some planes generating this curves, which I then manually extend in both directions:

Then, using the attached definition, I create the sticks and manually delete the ones that are outside of the surface:

The way I generate the sticks is by dividing the curve by the stick’s length and then moving the points on the curve by a random amount. That’s why I extend the original curves, so I can get a more chaotic look and not have it tile like bricks or rattan.

The problem I’m having is that I want the sticks to have random lengths too, and of course my whole method doesn’t work for this… can anyone help me or point me in the right direction on how I could just take a base subject and tile it with sticks of predefined random lengths?

Thank you very much!

Stickwall.gh (183.7 KB)