I have this code to generate a cut opperation:
TopoDS_Solid S1 = BRepPrimAPI_MakeSphere(R);
TopoDS_Solid F2 = BRepPrimAPI_MakeCylinder(R,R);
TopoDS_Shape Result = cutting.Shape();
But when I execute the program, a segmentation fault appears, what am I doing wrong?
Thanks in advantage for your help.