Intersect split brep problem

Hey guys! Can you tell me how I can cut out unnecessary geometry?

unnamed.gh (471.6 KB)

Is this what you want?


unnamed_Re_1.gh (471.8 KB)

Yes, thanks a lot!