I’m looking for a way to check whether two parallel lines are inline/aligned or not!? The solution should be independent of the position of the lines in world space, meaning that it shouldn’t rely on comparisons to world axes.
Whether the lines overlap each other partially, have an intersection at one of their end points, or don’t come into contact at all doesn’t matter! The case where both lines could be exactly the same was previously excluded.
I want to incorporate this strategy in a larger Python script, but a vanilla Grasshopper strategy, reliant on math, is also welcome!
Have a nice week everybody! Thanks.
inline_01.gh (5.3 KB)