Merge Overlapping curve - Is there a node?

I am working on merging overlapping curves to form continuous shapes, which I need to later use for creating area boundaries. I’ve been struggling with this task for several hours without success. My goal is to merge the overlapping lines and remove any duplicates to obtain a clean list of curves. This will allow me to group the curves and position an area element at the center of the resulting polygon. Any assistance would be greatly appreciated.

The curve list iam working on is included in the file here.
Curve question.DYN (427.0 KB)

An example (sketched) would be good.

Unless you mean this:

Hi @saju_autodesk probably something here could work in that case

or

PS so nice with that node dataremember truly gamechanger :wink: :wink:

2 Likes

thanks, @sovitek While this approach is effective for the current example, a more robust workflow that simply combines the lines might be necessary. This method employs a ‘Group by Distance’ strategy, As I previously mentioned this is used to establish area boundaries from walls. However, grouping by distance doesn’t always ensure accurate group formation. For example, if the areas are in close proximity, they might be incorrectly grouped together as one. Does that sound right?

1 Like

yeah i have just tried on your sample and something here sould work…in other situation we probably need another approach…depends :wink: