Grasshopper data merge

Hello everyone,

I am currently working on this slicer file made using grasshopper. I use it to feed a curve from Rhino that can be 3D printed.

The issue that I am trying to resolve is how to merge data from a curve that is going to be printed with a few layers (it goes from the stream filter) with data of a curve that goes around this geometry (a bounding box). They are currently connected with a merge nod and I am able to print, however first I would like the rectangle around the main geometry to be printed then the geometry. I want this rectangle curve to have a function of a skirt/brim. Now there is the opposite happening - first the closed planar curve is being printed (all layers) and then the polyline curve - as you can see on the panel.

I will attach screenshots.

I appriciate your help and you taking time to look into this!

Thank you

Hello,
I think you need to put the Flatten option on the Merge inputs.

1 Like

Can’t you just swap the MERGE node inputs?

1 Like

This is what I added and now it works correctly!

Thank you, it works now!

1 Like

It works now, thank you!