Cutting a curve through a roof

You can either go to the top view and use trim with the ApparentIntersections set to Yes or extrude the circles to get surfaces and use these surfaces to trim the roof and floor surfaces.