I am having two solid bodies, Solid1 is created by using 'BRepBuilderAPI_MakeSolid' and
Solid2 is created by using 'BRepPrimAPI_MakePrism'.
I want to cut Solid2 from Solid1 but here api 'BRepAlgoAPI_Cut' gives wrong result which is union body(Combined Solid1 & 2). Then i have tried by using api 'BRepAlgoAPI_Fuse' and here result is cut body.
Please check attached images for reference.
Is any one faced this problem.
Please help me to get correct cut body.