Divide length (of a Crv) by random distances

I have a problem I can´t seem to solve since yesterday.

I have a curve, that I need to divide by certain lengths (f.e 0.2, 0.4 …)
I´d like to distirbute those points randomly along the curve. So, having a list of curves with the lengths 0.2, 0.2, 0.4, 0.2 etc.
somehow it doesn´t work to apply a certain range of points on ONE curve.
Any idea would be much appreciated. I hope I explained it properly.
Thanks for your attention!

Jan

To divide a single curve into segments whose lengths* are picked randomly from a set of available lengths I’d use the Dash Pattern component. You can repeat your list of preset lengths until it’s long enough to cover the entire curve, then randomly jitter it to make it non-repeating. Finally you have to add zero length gap values in between all the numbers: divide.gh (18.8 KB)

* as measured along the curve, rather than straight through space.

1 Like

Thanks so much for that quick reply! Really great idea.
After some struggle in the beginning it works pefect.
Really made my day!