diff --git a/src/IntPolyh/IntPolyh_Intersection.cxx b/src/IntPolyh/IntPolyh_Intersection.cxx index c5be347e3e..22f05177aa 100755 --- a/src/IntPolyh/IntPolyh_Intersection.cxx +++ b/src/IntPolyh/IntPolyh_Intersection.cxx @@ -352,13 +352,15 @@ Standard_Boolean IntPolyh_Intersection::PerformMaillage(IntPolyh_PMaillageAffina theMaillageS->SetEnlargeZone( myZone ); } + /* // if too many intersections, consider surfaces parallel (eap) if(FinTTC > 200 && (FinTTC >= theMaillageS->GetArrayOfTriangles(1).NbTriangles() || FinTTC >= theMaillageS->GetArrayOfTriangles(2).NbTriangles()) ) { return Standard_False; } - + */ + return Standard_True; } diff --git a/tests/boolean/bopcut_complex/P8 b/tests/boolean/bopcut_complex/P8 new file mode 100755 index 0000000000..e49a7e2e93 --- /dev/null +++ b/tests/boolean/bopcut_complex/P8 @@ -0,0 +1,28 @@ +puts "============" +puts "CR23389" +puts "============" +puts "" +################################################################################### +# BRepAlgoAPI_Cut returns invalid solid +################################################################################### + +restore [locate_data_file CR23389-blade3.brep] b +explode b +checkshape b_1 +checkshape b_2 +bopcheck b_1 +bopcheck b_2 +bopargcheck b_1 b_2 + +bop b_1 b_2 + +bopcut result + +set square 53698.1 + +set 3dviewer 1 + + + + +