I have two solids, which are effectively a closed spline tube with end caps. I tried to do the common operator to get a shape for the region where they intersect, but the shape returned by:
BRepAlgoAPI_Common bool_operation(tube1, tube2);
auto bool_shape = bool_operation.Shape();
Includes the original spline tubes. Using the inspector, the algorithm found the overlap of the two solids properly, but I don't understand why the original solids are included in the resulting compound shape. Cut works as expected. Am I misunderstanding how the algorithm works?