diff --git a/tests/bugs/modalg_7/bug28883_1 b/tests/bugs/modalg_7/bug28883_1 new file mode 100644 index 0000000000..5e597de384 --- /dev/null +++ b/tests/bugs/modalg_7/bug28883_1 @@ -0,0 +1,21 @@ +puts "=======" +puts "OCC28883" +puts "=======" +puts "" +################################################## +# Invalid result of Section operation +################################################## + +restore [locate_data_file bug28883_Prism.brep] b1 +restore [locate_data_file bug28883_LES_2d_shell.brep] b2 + +explode b1 f; copy b1_51 b1 +explode b2 f; copy b2_8 b2 + +bsection result b1 b2 + +checkshape result +checksection result + +checknbshapes result -edge 1 -vertex 2 +checkprops result -l 7.13116e-007 diff --git a/tests/bugs/modalg_7/bug28883_2 b/tests/bugs/modalg_7/bug28883_2 new file mode 100644 index 0000000000..4be2dceacd --- /dev/null +++ b/tests/bugs/modalg_7/bug28883_2 @@ -0,0 +1,20 @@ +puts "=======" +puts "OCC28883" +puts "=======" +puts "" +################################################## +# Invalid result of Section operation +################################################## + +restore [locate_data_file bug28883_Prism.brep] b1 +restore [locate_data_file bug28883_LES_2d_shell.brep] b2 + +bsection result b1 b2 + +checkshape result +checksection result + +checknbshapes result -edge 133 -vertex 134 +checkprops result -l 2.20769 + +checkview -display result -2d -path ${imagedir}/${test_image}.png \ No newline at end of file