diff --git a/tests/bugs/modalg_7/bug28893_1 b/tests/bugs/modalg_7/bug28893_1 new file mode 100644 index 0000000000..8bbcbc0380 --- /dev/null +++ b/tests/bugs/modalg_7/bug28893_1 @@ -0,0 +1,20 @@ +puts "=======" +puts "OCC28893" +puts "=======" +puts "" +################################################## +# BOP cut produces result with artifacts consisting of tools parts +################################################## + +binrestore [locate_data_file bug28893_shape1.bin] b1 +binrestore [locate_data_file bug28893_tools1.bin] b2 + +bcut result b1 b2 + +checkshape result + +checknbshapes result -solid 1 -shell 1 -face 23 -wire 27 +checkprops result -s 2.35544e+006 +checkprops result -v 1.15441e+007 + +checkview -display result -2d -path ${imagedir}/${test_image}.png \ No newline at end of file diff --git a/tests/bugs/modalg_7/bug28893_2 b/tests/bugs/modalg_7/bug28893_2 new file mode 100644 index 0000000000..d98a468667 --- /dev/null +++ b/tests/bugs/modalg_7/bug28893_2 @@ -0,0 +1,25 @@ +puts "=======" +puts "OCC28893" +puts "=======" +puts "" +################################################## +# BOP cut produces result with artifacts consisting of tools parts +################################################## + +binrestore [locate_data_file bug28893_shape1.bin] b1 +binrestore [locate_data_file bug28893_tools1.bin] b2 + +bclearobjects +bcleartools +baddobjects b1 +baddtools b2 +bfillds +bbuild result + +checkshape result + +checknbshapes result -solid 7 -shell 7 -face 35 -wire 39 +checkprops result -s 2.36684e+006 +checkprops result -v 1.15772e+007 + +checkview -display result -2d -path ${imagedir}/${test_image}.png \ No newline at end of file diff --git a/tests/bugs/modalg_7/bug28893_3 b/tests/bugs/modalg_7/bug28893_3 new file mode 100644 index 0000000000..4a0c0c6bad --- /dev/null +++ b/tests/bugs/modalg_7/bug28893_3 @@ -0,0 +1,20 @@ +puts "=======" +puts "OCC28893" +puts "=======" +puts "" +################################################## +# BOP cut produces result with artifacts consisting of tools parts +################################################## + +binrestore [locate_data_file bug28893_shape2.bin] b1 +binrestore [locate_data_file bug28893_tools2.bin] b2 + +bcut result b1 b2 + +checkshape result + +checknbshapes result -solid 1 -shell 1 -face 23 -wire 27 +checkprops result -s 1.10298e+006 +checkprops result -v 5.38055e+006 + +checkview -display result -2d -path ${imagedir}/${test_image}.png \ No newline at end of file diff --git a/tests/bugs/modalg_7/bug28893_4 b/tests/bugs/modalg_7/bug28893_4 new file mode 100644 index 0000000000..05071f8a3c --- /dev/null +++ b/tests/bugs/modalg_7/bug28893_4 @@ -0,0 +1,25 @@ +puts "=======" +puts "OCC28893" +puts "=======" +puts "" +################################################## +# BOP cut produces result with artifacts consisting of tools parts +################################################## + +binrestore [locate_data_file bug28893_shape2.bin] b1 +binrestore [locate_data_file bug28893_tools2.bin] b2 + +bclearobjects +bcleartools +baddobjects b1 +baddtools b2 +bfillds +bbuild result + +checkshape result + +checknbshapes result -solid 7 -shell 7 -face 36 -wire 40 +checkprops result -s 1.11391e+006 +checkprops result -v 5.41362e+006 + +checkview -display result -2d -path ${imagedir}/${test_image}.png \ No newline at end of file