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 01.gh (17.2 KB)
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 01.gh (17.2 KB)
Discontinuity Component can give you the location for shatter.
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.
vector_compare.gh (17.0 KB)