Wall location curve

If it’s all lines, you could try the LineLoopMerge node:

7 Likes