Intersection between breps

Hi all,
I have few breps which I’m trying to intersect.
I have a box like on the image one, and curves like on the image 2. I’ve extruded shapes from curves and then I intersect them. But when I want to see the surface between the extruded curves it gives me box connecetd to that intersection.
I’m not too sure what I’m doing wrong.

Thanks for help!

Hi Agata,

Does flattening the B input of the SDiff component solve your problem?

Yes, it did! thank you!