Hi all,
does someone else also have difficulty with the Curve Intersection component? In some cases, it simply does not give the results.
I tried to lower model tolerances, but nothing changes
Curve Intersection.gh (5.3 KB)
Thanks!
Hi all,
does someone else also have difficulty with the Curve Intersection component? In some cases, it simply does not give the results.
I tried to lower model tolerances, but nothing changes
Curve Intersection.gh (5.3 KB)
Thanks!
Graft one of the inputs.
the one you show is a data tree problem
you are trying to find intersection between curve 0 and line 0, which obviously do not intersect same for curve 1 and line 1, curve 2 and line 2… and so on
you can either graft CCX input A or B, depending on how you want output data to be organized
grafting CCX input A will give you a tree like:
{curve index; line index} (intersection points)
grafting CCX input B will give you a tree like:
{line index; curve index} (intersection points)
As @inno pointed out - intersections work properly (no need to graft) if intersecting curves share the same index.
Sorry guys,
somehow I made the wrong selection when creating the example file. Here is a new file where data trees are matching. Please take a look at the curves on the left side
Curve Intersection B.gh (29.2 KB)
Or you could sort the curves. Wait, moving the goal posts?
I found the issue, they were not projected correctly
Thank you inno,
I had to also check is all curves are planar
So did I.