From: apv Date: Wed, 26 Jul 2017 15:21:08 +0000 (+0300) Subject: Test for 0024424: BRepAlgoAPI_Cut throws Standard_ConstructionError with disjoint... X-Git-Tag: V7_2_0_beta~15 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=1f9eb8908258f90a37a1c213b36302d9dd775ad0;p=occt.git Test for 0024424: BRepAlgoAPI_Cut throws Standard_ConstructionError with disjoint, but adjacent solids --- diff --git a/tests/bugs/modalg_7/bug24424 b/tests/bugs/modalg_7/bug24424 new file mode 100644 index 0000000000..c2c468cfd2 --- /dev/null +++ b/tests/bugs/modalg_7/bug24424 @@ -0,0 +1,16 @@ +puts "========" +puts "OCC24424" +puts "========" +puts "" +######################################################################################## +# BRepAlgoAPI_Cut throws Standard_ConstructionError with disjoint, but adjacent solids +######################################################################################## + +restore [locate_data_file bug24424_a.brep] a +restore [locate_data_file bug24424_b.brep] b + +bcut result a b + +if {[llength [whatis result]] < 4} { + puts "ERROR: OCC24424 is reproduced. Result of bcut operation is empty." +}