Check number of intersections with curve

Hello, I would like to check a set of curves for their intersections in Grashopper. So that I then have the ammount of intersections for each curve. I hope this is formulated clearly. Thanks in advance.

Hello,

Curve | Curve component is a way. Intersect each curve (=> Graft) with all the curves except itself (=> Cull Index).

Multiple Curves could be useful as well.

CurveCurveIntersections.gh (8.6 KB)

Thank you for your answer, unfortunately this doesnt exactly solve my problem. What I would like to be able to do is: Have the code tell me which of the coloured lines has more than one intersection with a black line and sort them according to this rule.

Maybe post your code so people aren’t wasting their time guessing?

1 Like

050423.gh (85.4 KB)
I don’t know if it helps but probably…

040423_1_duplicate.3dm (3.1 MB)