Trying to merge 2 Breps into 1 polyline

Hi everyone!

I’m have two grasshopper files I am using to generate a print path for a clay 3D printer. Essentially, I am using the first file to create a mesh from an image mapped surface, then using the second file to merge a tile backing + the mesh surface together to make 1 tile. After merging the two sets of curves together (which appears seemless), I then change those curves into points, and from points, into a polyline. The issue I am having is that when grasshopper builds the polyline it inserts a printline between the image mapped surface and tile backing. It seems that there is some issue in the polyline reading the order of the points correctly. Any thoughts on how I might fix it? I’ve attached the files for reference.


Trouble Shooting Tile File.3dm (11.3 MB)
April 10 - TIle Image map to Mesh.gh (3.0 MB)
Building Tile - April 9th_autosave .gh (32.6 KB)

You need to join them where after the Merge, so they become one single curve per layer. Then you can create the points and they will be in the correct order