BRepExtrema_DistShapeShape uses infinite memory
After importing an IGES file I realized that BRepExtrema_DistShapeShape "crashes" (at least I have not enough memory and I think OCC should never use >6BG for that method). So I isolated the two shapes for tests and stored them in shape29.brep and shape44.brep. First I thought, that some shape healing should help, but the IGES import did that already. Changes of the deflection and other parameters in BRepExtrema_DistShapeShape are also no real help.
I used OpenCASCADE version 6.5.3, but had the same problems with 6.5.0 on a linux machine.
Can anybody reproduce that behaviour? Any suggestions? Any work-around, patches? Every input is welcome
Here some jump-start code:
char filenameA = "shape29.brep";
char filenameB = "shape44.brep";
result = BRepTools::Read( aShape, filenameA, aBuilder );
result = BRepTools::Read( bShape, filenameB, aBuilder );
BRepExtrema_DistShapeShape distSS( aShape, bShape );
// never reached :-(