Hi,

simplified 2D logic:

what you can see in my drawing ist a grid of points. I want to interpolate from A to B and A to C for example. (Route 1: A start point, B endpoint), (Route 2: A start point, C end point).

I want to interpolate through one point in every single x column (diagonal is also okay for me) but at the end, I need the shortest possible curve from A to B.

Here is my file where I define start and endpoint at the end of the script.

Tester.gh (43.8 KB)

Maybe someone can help with with the script or just the logic as well.

Thanks a lot for your help!