Merge overlapping polycurve to get outer perimeter

Hello Everyone!

i need to extract the very outer line from these two polycurve (are in the same level). Has anyone has a solution from this?,

im already use this method but its error

Assuming you don’t have any interior openings, pull the edges of the unioned surface (or a poly surface) with a Topology.Edges node, and test which edges only have one bounding face - those are the outside ones. Get the curve geometry and you’re done.

If you have interior openings, after filtering build polycurves from the filtered curves using a ByGroupedCurves node, patch them into surfaces, and sort by area. Take the last one out of the sorted list and pull the perimeter curves - this is the outter loop.

4 Likes

Thanks a lot!