How do I create tabs between two parts using Grasshopper?

I’m trying to trim off the top and bottom blue line (sections perpendicular to the black lines) in order to create tabs between the two objects. So far I created the tab lines (in red) and tried to use the intersection points of them with the top and bottom line to trim them out but I was never able to find out a way to do it. I have attached the grasshopper file wasn’t able to upload the rhino file so included a picture instead. Any help will be appreciated. (13.5 KB)

Two threads about “tabbing” created at the same time by two different people? What are the odds?

hi, working on the same project lol :smiley: