From: ski Date: Mon, 18 Jan 2016 10:29:38 +0000 (+0300) Subject: 0021875: Section of face by plane produces invalid result X-Git-Tag: V7_0_0rc~88 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=db81f678bc8bc701c47154f7c5a91df2cab21880;p=occt.git 0021875: Section of face by plane produces invalid result Test case was added. --- 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