From 9cc4e7e2db466607ce67db8b48c8b59e2924d552 Mon Sep 17 00:00:00 2001 From: aml Date: Tue, 24 May 2016 10:57:30 +0300 Subject: [PATCH] 0027529: Invalid result of CUT operation Test case is added. --- tests/bugs/modalg_6/bug27529 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tests/bugs/modalg_6/bug27529 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