Room boundaries are divided into multiple line segments

Hello, I found that no matter which Boundary node is used to extract the room boundary, the following problems will occur:
Once a room wall intersects another wall, the originally continuous line is split into two segments from the intersection point.
Is there any other way to get the correct room outline?

As shown in the picture, the real room outline should only have 4 lines. But it is actually divided into 6 lines at the circle selection point.

Hi try join them to polycurve and then try polycurve simplify from sparrow (written In DS script and then explode it should give 4 curves

3 Likes

It worked, thank you very much!

1 Like