Using BRepAlgoAPI_Cut to subtract from a shell
I need to create a hole in a shell and after some google searches I found many people suggested using the boolean subtraction operation "Cut". So I did a cut of a solid from a relatively simple shell to do this, but instead of it removing the intersection, it returned only the intersection. What am I doing wrong?
Here is basically how I called it:
TopoDS_Shape shell = ...;
TopoDS_Shape solid = ...;
TopoDS_Shape cut = BRepAlgoAPI_Cut(shell, solid);
Attached is an infographic showing you exactly what happened.