From 1f9eb8908258f90a37a1c213b36302d9dd775ad0 Mon Sep 17 00:00:00 2001 From: apv Date: Wed, 26 Jul 2017 18:21:08 +0300 Subject: [PATCH] Test for 0024424: BRepAlgoAPI_Cut throws Standard_ConstructionError with disjoint, but adjacent solids --- tests/bugs/modalg_7/bug24424 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/bugs/modalg_7/bug24424 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." +}