Keep first straight line of shortest walk

I want to keep the first straight line of the shortest walk path. How can I do that?

I shatterd the curve and than compare the vectors, but the component equality does not work with vectors

keep straight part (17.2 KB)

Discontinuity Component can give you the location for shatter.

1 Like

O yes that one, thank you!

Besides that, do you know how to see if the vectors are equal of two lists?

Same direction? Same length? What should be the output? You want the index or jsut true/false?
May this helps you a bit. (17.0 KB)

1 Like