]> OCCT Git - occt.git/commitdiff
0028773: BRepAlgoAPI_Cut invalid result
authorbugmaster <bugmaster@opencascade.com>
Wed, 31 May 2017 15:28:29 +0000 (18:28 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 1 Jun 2017 10:55:24 +0000 (13:55 +0300)
Adding test case only

tests/bugs/modalg_6/bug28773 [new file with mode: 0644]

diff --git a/tests/bugs/modalg_6/bug28773 b/tests/bugs/modalg_6/bug28773
new file mode 100644 (file)
index 0000000..e0c3703
--- /dev/null
@@ -0,0 +1,20 @@
+puts "========"
+puts "OCC28773"
+puts "========"
+puts ""
+#################################################
+# BRepAlgoAPI_Cut invalid result
+#################################################
+
+restore [locate_data_file bug28773_1.brep] b1
+restore [locate_data_file bug28773_2.brep] b2
+
+bop b1 b2
+bopcut res
+checkshape res
+
+checkshape res
+checknbshapes res -solid 1
+checkprops res -s 0.101938 -v 0.000203073
+
+checkview -display res -2d -path ${imagedir}/${test_image}.png
\ No newline at end of file