]> OCCT Git - occt.git/commitdiff
0021875: Section of face by plane produces invalid result
authorski <ski@opencascade.com>
Mon, 18 Jan 2016 10:29:38 +0000 (13:29 +0300)
committerabv <abv@opencascade.com>
Thu, 21 Jan 2016 12:50:23 +0000 (15:50 +0300)
Test case was added.

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

diff --git a/tests/bugs/modalg_6/bug21875 b/tests/bugs/modalg_6/bug21875
new file mode 100644 (file)
index 0000000..a5ff09a
--- /dev/null
@@ -0,0 +1,18 @@
+puts "=========="
+puts "OCC21875"
+puts "=========="
+puts ""
+##################################################
+# Section of face by plane produces invalid result
+##################################################
+
+restore [locate_data_file bug21875_face.brep] a
+plane p 0 0 1.844 0 0 1
+mkface f p -10 10 -10 10
+
+bsection result a f
+
+checknbshapes result -edge 5
+checkprops result -l 2.14222
+
+set 2dviewer 1