]> OCCT Git - occt.git/commitdiff
Test for 0024424: BRepAlgoAPI_Cut throws Standard_ConstructionError with disjoint...
authorapv <apv@opencascade.com>
Wed, 26 Jul 2017 15:21:08 +0000 (18:21 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 27 Jul 2017 11:00:09 +0000 (14:00 +0300)
tests/bugs/modalg_7/bug24424 [new file with mode: 0644]

diff --git a/tests/bugs/modalg_7/bug24424 b/tests/bugs/modalg_7/bug24424
new file mode 100644 (file)
index 0000000..c2c468c
--- /dev/null
@@ -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."
+}