Create curves given random points

Hi everyone,

I am trying to find a way to draw a group of polylines given a random group of points. The image below show in a better way the final result I am looking for.

Ideally given a group of points the algorithm would find paths. I honestly don’t have any idea where to start.

Does anyone have experience something similar in the past? Any pointers or topics I should look to be able to accomplish this problem? I will appreciate any ideas or comments to point me in the right direction.

Attached is the quick GH definition that has the geometry.

Full (12.3 KB)


Full (18.6 KB)
just fixed your shortest walk attempt.

btw you can use this to cull inersecting curves:

1 Like

@dfytz1 Thanks this is what I was looking for!

1 Like