Hello
I use a Curve|Line intersection, the component orders the intersections with the direction of the lines but sometimes no.
Is it a bug or I do not understand the logic?
Hello
I use a Curve|Line intersection, the component orders the intersections with the direction of the lines but sometimes no.
Maybe the order of points intersections follow the first curve, so i tested with the “principal” option, it’s identical
Generally you can’t rely on any of the intersection-based components (including ones like Boundary Surfaces) to return their results in any logical order - you’ll have to post-process the outputs manually, in this case sorting the points according to distance from the start of the line.
thanks, ok i’m going to increase the spaghetti effect
I think they’re sorted along the curve right? The line direction is not taken into account at all.
But maybe the order is totally random. If the values in the [t] output are always increasing, then the points are sorted along the freeform curve.
So, what is the utility of “principal” option ?
Principal just determines which list to adapt the branch addresses (path) logic from, it doesn’t change the lists order or content. http://www.grasshopper3d.com/forum/topics/what-are-the-icons-on-a-component-s-input-output-parameter
Ok, thank you ans thank all !