Why crash BRepAlgoAPI_Cut

Hello.

I use OpenCascade V7.4.0 for windows 32bit.

I am trying to get the cut part of two shapes according to the code but it crashes app.

TopoDS_Shape base;
BRep_Builder bb1;
BRepTools::Read( base, "C:/@test/base.brep", bb1 );

TopoDS_Shape cutter;
BRep_Builder bb2;
BRepTools::Read( cutter, "C:/@test/cutter.brep", bb2 );

BRepAlgoAPI_Cut cut( base, cutter );                    // <-- crash!!
cut.Build();

Anyone had this problem?

Best regards.
Keito

 

Attachments: