Current Situation:
I have multiple line segments—some may follow a pattern, while others appear disorganized. My goal is to extract their outer contour lines.
Issue:
With Input 2 and Input 3, my Grasshopper (GH) script successfully generates the desired contours.
However, Input 1 fails to produce results, leaving me unsure how to proceed.
Question:
Is there a more robust method to make the program compatible with diverse input cases and reliably extract contour lines?
It would be best if Python could solve this problem, as I’m not proficient with C++.
curve Union.gh (822.6 KB)