]> OCCT Git - occt.git/commitdiff
0027529: Invalid result of CUT operation
authoraml <aml@opencascade.com>
Tue, 24 May 2016 07:57:30 +0000 (10:57 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 23 Jun 2016 15:15:08 +0000 (18:15 +0300)
Test case is added.

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

diff --git a/tests/bugs/modalg_6/bug27529 b/tests/bugs/modalg_6/bug27529
new file mode 100644 (file)
index 0000000..3b4a24f
--- /dev/null
@@ -0,0 +1,27 @@
+puts "================"
+puts "OCC27529"
+puts "================"
+puts ""
+#######################################################################
+# Invalid result of CUT operation
+#######################################################################
+
+restore [locate_data_file bug27529_shapes.brep] aS
+explode aS
+
+bcut result aS_1 aS_2
+
+# Check result validity.
+checkshape result
+
+# Check number of topological entities in the result.
+checknbshapes result -solid 1 -shell 1 -face 6 -vertex 8
+
+# Check result area.
+checkprops result -s 1.5015e+008
+
+smallview
+don result
+fit
+
+checkview -screenshot -2d -path ${imagedir}/${test_image}.png