I have created a list of faces, which I sewed using the BRepOffsetAPI_Sewing algorithm. The result is a TopoDS_Shape (myShape), which I shape-fixed and validated. 'myShape' is valid and seems to be closed.
Now I am trying to use BRepAlgoAPI_Cut(aShape, myShape).
This is resulting in an exception, whereas BRepAlgoAPI_Cut(myShape, aShape) is working fine (but is not what I intend to do. The two shapes do not have any faces in common. Does anyone have a clue, what is going on there? Or is there a better solution for building a closed shape from the faces?