Trim multiple curves for terrain model

Hello

Still stuck with this, maybe somone can help. I want to make a terrain model for lasercutting. I manged to do it with the seperate curves on the left, although i don’t understand why i don’t geth the intersection points of both rectangles, but the shatter command works. Then I’d like to do it with the full set of curves I got from a contour component (right side) but i cant even split the multiple rectangles yet join the right parts after that. This would be realy helpfull many times when someone only has a set of height lines.

Thanks
curves_assembly.gh (2.5 MB)

missing


curves_assembly_2021Feb5a.gh (2.5 MB)

P.S. It’s subtle and too late now but I wish I had used Combine differently, like this:

curves_assembly_2021Feb5b


curves_assembly_re.gh (2.5 MB)

Your file is very slow

curves_assembly_.gh (2.5 MB)

image

You can mesh smooth component to smooth section polylines

Thank you very much Sir!

Thank you too, although i prefer HS-Kim’s solution, because I have mor control of the smoothing when only working with curves.