Trouble selecting a specific intersection point

Hi everyone! :waving_hand:

I’ve been facing a recurring issue in Grasshopper that’s really disrupting my workflow. :laptop::collision:
When a line intersects an arc at two points, I often can’t isolate just one of those points.
Even using Curve | CurveList Item doesn’t help reliably — sometimes I only get one point :confused:, other times I get both at once :exploding_head:, and I lose control over which point to use.

I’ve already tried using Flatten :broom: and Graft :herb: to fix the data structure — no luck :downcast_face_with_sweat:.
This becomes a real problem when I need to reference just one specific intersection for further construction, like trimming, extending, or aligning elements. :triangular_ruler::hammer_and_wrench:

:red_question_mark: Is there a clean and consistent way to extract just one of the two intersection points between a line and an arc?

Any tips, tricks, or workarounds would be greatly appreciated! :folded_hands::light_bulb:
Thanks in advance! :sparkles:

Post a GH file.

Shooting in the dark rarely works with GH. The sequence of geometry results is often unpredictable so other means are required, such as sorting by something. If you had posted a file we could have a more specific reply.

I honestly don’t know how to apologize to you.
I have no idea how it happened — I closed Grasshopper once, shut down the system, went out for a walk, and when I came back and reopened the file, I saw that the issue had been resolved.
Even I was confused myself!
Now, along with the Flatten command, I can easily select the intersected points.
Thank you so much for your help!

Flatten will cause trouble as you do more complicated things with GH.

Thank you for sharing this — your observation is spot on.
Flatten can definitely cause unexpected issues when dealing with multiple branches, especially in more complex data trees.
It’s great that the logic worked out well in this case. I really appreciate the fact that you took the time to go back and refine the code.
Looking forward to testing it with larger building sets and seeing how it holds up!

Not unexpected when you examine the data trees.

“Building sets”? Are you working with buildings? Without posting a GH file, how would I know :question:

You’re right I should’ve said “building geometries” instead.

The key word is “building” as you hadn’t mention that in your initial post.

3. Attach minimal versions of all the relevant files