From: aml Date: Tue, 24 May 2016 07:57:30 +0000 (+0300) Subject: 0027529: Invalid result of CUT operation X-Git-Tag: V7_1_0_beta~278 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=9cc4e7e2db466607ce67db8b48c8b59e2924d552;p=occt.git 0027529: Invalid result of CUT operation Test case is added. --- diff --git a/tests/bugs/modalg_6/bug27529 b/tests/bugs/modalg_6/bug27529 new file mode 100644 index 0000000000..3b4a24f23f --- /dev/null +++ b/tests/bugs/modalg_6/bug27529 @@ -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