Create single open curve from multiple closed curves

Hi, I am trying to create a single open curve from the 4 rounded rectangles in the Rhino file. The curve will be used as a toolpath for 3d printing, so it needs to be a single line without any travel moves. I just have no idea where to start with this…

Anybody here can help me getting started or knows about a way to get this done?
closed shapes.3dm (3.0 MB)

Hi @stijnvanaardenne,

Does Rhino’s CurveBoolean command provide the results you are looking for?

– Dale

Not really so far, it deletes some lines which is not my intention. I was thinking about using something like “shortest walk” in grasshopper but then in a way it goes by all the curves.

i intersected first. then split with resulting points and then stiched them together. is this what you are looking for?

closed shapes_CL.3dm (191.9 KB)

yes! thanks this is it! I’ll try to follow your technique in grasshopper! thanks a lot!

1 Like