From 41ccce129d0f39b7a8a5edaaaeb2cf782e3bce2d Mon Sep 17 00:00:00 2001 From: emv Date: Fri, 10 Jul 2020 14:19:31 +0300 Subject: [PATCH] 0031662: Modeling Algorithms - Incomplete result of section operation Integrating test case for the issue as the problem is not reproduced. --- tests/bugs/modalg_7/bug31662 | 32 ++++++++++++++++++++++++++++++++ tests/bugs/moddata_2/pro19422_1 | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 tests/bugs/modalg_7/bug31662 diff --git a/tests/bugs/modalg_7/bug31662 b/tests/bugs/modalg_7/bug31662 new file mode 100644 index 0000000000..82cfa10e3e --- /dev/null +++ b/tests/bugs/modalg_7/bug31662 @@ -0,0 +1,32 @@ +puts "=============================================================================================" +puts "0031662: Modeling Algorithms - Incomplete result of section operation" +puts "=============================================================================================" +puts "" + +restore [locate_data_file bug31662_Surface_0.brep] s0 +restore [locate_data_file bug31662_Surface_1.brep] s1 + +bclearobjects +bcleartools +baddobjects s0 +baddtools s1 +bfillds + +bbop r4 4 + +checkshape r4 +checksection r4 -r 0 +checkprops r4 -l 70.3856 + +bbuild rgf + +checkshape rgf +checknbshapes rgf -wire 363 -face 363 -shell 2 -solid 0 + +mkvolume result rgf -ni + +checkshape result +checknbshapes result -wire 254 -face 254 -shell 1 -solid 1 +checkprops result -s 668.352 -v 774.749 + +checkview -display result -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/moddata_2/pro19422_1 b/tests/bugs/moddata_2/pro19422_1 index 244676147d..436a1eb147 100755 --- a/tests/bugs/moddata_2/pro19422_1 +++ b/tests/bugs/moddata_2/pro19422_1 @@ -16,6 +16,6 @@ checkshape tool bcut result shape tool checkprops result -s 3166.93 -checknbshapes result -wire 8 -face 8 -shell 1 -solid 1 +checknbshapes result -wire 10 -face 10 -shell 1 -solid 1 checkview -display result -2d -path ${imagedir}/${test_image}.png