boolean operation for a solid based on sweep of sewed faces

I sew three faces(not in one plane) to one, and then use BRepSweep_Prism to build a solid. But when i want to use this solid to cut a box(BRepAlgoAPI_Cut), there's a error. I don't know why. Someone can help me? Thanks a lot!

Evgeny Lodyzhehsky's picture

Take out somewhere the shapes that you want to Cut.
Do not remember to write the link here.
We'll investigate, do not worry about.