Removing a mitre line to generate flat 2d

Hi,

I have a complex geometry pipeline but i internalized the data just to keep it sane. What I am trying to achieve here is a flat grouped line object that I can use with open nest. Which in my very amateur experience needs to be curves or group of curves. I have attached the definition but I think I am complicating it too much.
Thank you,
Karan.

Remove_Line_Mitre_Line.gh (51.9 KB)

Hi,
I don’t understand what you want to do. Can you give some more details or an example?

My question is will it remain generically depended on the angle bisector of the plane.Because I cant possibly make assumption that it would work in all angles right ?