From db81f678bc8bc701c47154f7c5a91df2cab21880 Mon Sep 17 00:00:00 2001 From: ski Date: Mon, 18 Jan 2016 13:29:38 +0300 Subject: [PATCH] 0021875: Section of face by plane produces invalid result Test case was added. --- tests/bugs/modalg_6/bug21875 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/bugs/modalg_6/bug21875 diff --git a/tests/bugs/modalg_6/bug21875 b/tests/bugs/modalg_6/bug21875 new file mode 100644 index 0000000000..a5ff09a536 --- /dev/null +++ b/tests/bugs/modalg_6/bug21875 @@ -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