From 3c8287eb0a7dd9fb14e5c654b83926105bb76458 Mon Sep 17 00:00:00 2001 From: nbv Date: Fri, 2 Nov 2018 10:57:48 +0300 Subject: [PATCH] 0026820: bsection returns single vertex instead of curve Test case has been created only because the problem is not reproduced on current MASTER. --- tests/bugs/modalg_7/bug26820 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/bugs/modalg_7/bug26820 diff --git a/tests/bugs/modalg_7/bug26820 b/tests/bugs/modalg_7/bug26820 new file mode 100644 index 0000000000..7fc9f5ed0c --- /dev/null +++ b/tests/bugs/modalg_7/bug26820 @@ -0,0 +1,23 @@ +puts "========" +puts "0026820: bsection returns single vertex instead of curve" +puts "========" +puts "" + +restore [locate_data_file bug26820_body_shell.brep] b +restore [locate_data_file bug26820_section_plane.brep] s + +bsection result b s +checksection result -r 0 +checkshape result +checknbshapes result -edge 1 -vertex 1 +checkprops result -l 2333.68 + +if {[regexp "Faulties" [bopargcheck result]]} { + puts "Error: bopargcheck has found some faulties in result" +} + +smallview +don result +fit + +checkview -screenshot -2d -path ${imagedir}/${test_image}.png