From 4f0ba168fbf152a8158ec71b69de0606d72b5091 Mon Sep 17 00:00:00 2001 From: bugmaster Date: Wed, 31 May 2017 18:28:29 +0300 Subject: [PATCH] 0028773: BRepAlgoAPI_Cut invalid result Adding test case only --- tests/bugs/modalg_6/bug28773 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/bugs/modalg_6/bug28773 diff --git a/tests/bugs/modalg_6/bug28773 b/tests/bugs/modalg_6/bug28773 new file mode 100644 index 0000000000..e0c3703618 --- /dev/null +++ b/tests/bugs/modalg_6/bug28773 @@ -0,0 +1,20 @@ +puts "========" +puts "OCC28773" +puts "========" +puts "" +################################################# +# BRepAlgoAPI_Cut invalid result +################################################# + +restore [locate_data_file bug28773_1.brep] b1 +restore [locate_data_file bug28773_2.brep] b2 + +bop b1 b2 +bopcut res +checkshape res + +checkshape res +checknbshapes res -solid 1 +checkprops res -s 0.101938 -v 0.000203073 + +checkview -display res -2d -path ${imagedir}/${test_image}.png \ No newline at end of file