Creating a clean surface between a line and polyline

Hi everyone,

I would like to create a surface between a line and a polyline, like in this picture below:
Both lines are always on the same Y value, and the start and end of the X value is always the same.
I managed to create the surface, but I do not need the line in the middle of the surface. It might mess up my material calculation that I would like to do later.

Is there a way to create a clean surface from the lower line, up to the upper line without cut lines? Just like in the second picture?

Surface between points.gh (10.1 KB)

Thanks in advance.

Without changing your method: just use the Merge Faces component afterward will do.

Didn’t know that one! Thanks!