Extracting closed lines and outer lines (Help! /Grasshopper)

If I draw three lines like in example 1, how can I extract the inner offset line (the red line 7) inside the closed area and the separated outer lines (lines 1 to 6) like in example 2?

haha I did

FYI,


ExtractingCrvs.gh (13.0 KB)

The pipe trick😉

I still think about that at least once a week

THanks! i havent thought like this…Oh