From 98369fc73bc058b1c17e00df4cc2d9875ff27192 Mon Sep 17 00:00:00 2001 From: emv Date: Fri, 3 Aug 2018 11:07:42 +0300 Subject: [PATCH] 0030010: Invalid result of FUSE operation in series of test cases Test cases for the issue. --- tests/bugs/modalg_7/bug30010_1 | 38 +++++++++++++++++++++++++++++ tests/bugs/modalg_7/bug30010_2 | 36 ++++++++++++++++++++++++++++ tests/bugs/modalg_7/bug30010_3 | 40 +++++++++++++++++++++++++++++++ tests/bugs/modalg_7/bug30010_4 | 39 ++++++++++++++++++++++++++++++ tests/bugs/modalg_7/bug30010_5 | 36 ++++++++++++++++++++++++++++ tests/bugs/modalg_7/bug30010_6a | 38 +++++++++++++++++++++++++++++ tests/bugs/modalg_7/bug30010_6b | 42 +++++++++++++++++++++++++++++++++ tests/bugs/modalg_7/bug30010_7 | 36 ++++++++++++++++++++++++++++ tests/bugs/modalg_7/bug30010_8 | 37 +++++++++++++++++++++++++++++ 9 files changed, 342 insertions(+) create mode 100644 tests/bugs/modalg_7/bug30010_1 create mode 100644 tests/bugs/modalg_7/bug30010_2 create mode 100644 tests/bugs/modalg_7/bug30010_3 create mode 100644 tests/bugs/modalg_7/bug30010_4 create mode 100644 tests/bugs/modalg_7/bug30010_5 create mode 100644 tests/bugs/modalg_7/bug30010_6a create mode 100644 tests/bugs/modalg_7/bug30010_6b create mode 100644 tests/bugs/modalg_7/bug30010_7 create mode 100644 tests/bugs/modalg_7/bug30010_8 diff --git a/tests/bugs/modalg_7/bug30010_1 b/tests/bugs/modalg_7/bug30010_1 new file mode 100644 index 0000000000..fc2a4a45f2 --- /dev/null +++ b/tests/bugs/modalg_7/bug30010_1 @@ -0,0 +1,38 @@ +puts "TODO CR29596 All: Intersection of pair of shapes has failed" +puts "TODO CR30010 All: Error : The area of result shape is" +puts "TODO CR30010 All: Error : is WRONG because number of" + +puts "========" +puts "OCC29900: Invalid result of FUSE operation" +puts "========" +puts "" + +cpulimit 3000 + +brestore [locate_data_file bug30010_Eckardt_Run_28_1.brep] s1 +brestore [locate_data_file bug30010_Eckardt_Run_28_2.brep] s2 + +bdrawwarnshapes 1 +bnondestructive 1 +bfuzzyvalue 0.0 +brunparallel 1 + +bclearobjects +bcleartools +baddobjects s1 +baddtools s2 +bfillds +bbop result 1 + +checkshape result +checknbshapes result -shell 1 -solid 1 +checkprops result -s 176281 -v 1.47407e+006 + +incmesh result 0.01 +if {[tricheck result] != ""} { + puts "Error: Meshing not done" +} + +boptions -default + +checkview -display result -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_7/bug30010_2 b/tests/bugs/modalg_7/bug30010_2 new file mode 100644 index 0000000000..e26dcf20f0 --- /dev/null +++ b/tests/bugs/modalg_7/bug30010_2 @@ -0,0 +1,36 @@ +puts "TODO CR29596 All: Intersection of pair of shapes has failed" + +puts "========" +puts "OCC29900: Invalid result of FUSE operation" +puts "========" +puts "" + +cpulimit 3000 + +brestore [locate_data_file bug30010_Eckardt_Run_31_1.brep] s1 +brestore [locate_data_file bug30010_Eckardt_Run_31_2.brep] s2 + +bdrawwarnshapes 1 +bnondestructive 1 +bfuzzyvalue 0.0 +brunparallel 1 + +bclearobjects +bcleartools +baddobjects s1 +baddtools s2 +bfillds +bbop result 1 + +checkshape result +checknbshapes result -wire 44 -face 44 -shell 1 -solid 1 +checkprops result -s 153019 -v 1.16027e+006 + +incmesh result 0.01 +if {[tricheck result] != ""} { + puts "Error: Meshing not done" +} + +boptions -default + +checkview -display result -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_7/bug30010_3 b/tests/bugs/modalg_7/bug30010_3 new file mode 100644 index 0000000000..eb6ef5a37d --- /dev/null +++ b/tests/bugs/modalg_7/bug30010_3 @@ -0,0 +1,40 @@ +puts "TODO CR29596 All: Intersection of pair of shapes has failed" +puts "TODO CR30010 All: Error : is WRONG because number of" +puts "TODO CR30010 All: Warning: Building 2D curve of edge on face has failed" +puts "TODO CR30010 All: Error: Meshing not done" +puts "TODO CR30010 All: Error : The area of result shape is" + +puts "========" +puts "OCC29900: Invalid result of FUSE operation" +puts "========" +puts "" + +cpulimit 3000 + +brestore [locate_data_file bug30010_Eckardt_Run_32_1.brep] s1 +brestore [locate_data_file bug30010_Eckardt_Run_32_2.brep] s2 + +bdrawwarnshapes 1 +bnondestructive 1 +bfuzzyvalue 0.0 +brunparallel 1 + +bclearobjects +bcleartools +baddobjects s1 +baddtools s2 +bfillds +bbop result 1 + +checkshape result +checknbshapes result -wire 49 -face 49 -shell 1 -solid 1 +checkprops result -s 163660 -v 1.2937e+006 + +incmesh result 0.01 +if {[tricheck result] != ""} { + puts "Error: Meshing not done" +} + +boptions -default + +checkview -display result -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_7/bug30010_4 b/tests/bugs/modalg_7/bug30010_4 new file mode 100644 index 0000000000..845b49745b --- /dev/null +++ b/tests/bugs/modalg_7/bug30010_4 @@ -0,0 +1,39 @@ +puts "TODO CR29596 All: Intersection of pair of shapes has failed" +puts "TODO CR30010 All: Error : is WRONG because number of" +puts "TODO CR30010 All: Error: Meshing not done" +puts "TODO CR30010 All: Faulty shapes in variables faulty_1 to faulty_" + +puts "========" +puts "OCC29900: Invalid result of FUSE operation" +puts "========" +puts "" + +cpulimit 3000 + +brestore [locate_data_file bug30010_bigFillet_Run_12_1.brep] s1 +brestore [locate_data_file bug30010_bigFillet_Run_12_2.brep] s2 + +bdrawwarnshapes 1 +bnondestructive 1 +bfuzzyvalue 0.0 +brunparallel 1 + +bclearobjects +bcleartools +baddobjects s1 +baddtools s2 +bfillds +bbop result 1 + +checkshape result +checknbshapes result -wire 80 -face 80 -shell 1 -solid 1 +checkprops result -s 131053 -v 1.23621e+006 + +incmesh result 0.01 +if {[tricheck result] != ""} { + puts "Error: Meshing not done" +} + +boptions -default + +checkview -display result -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_7/bug30010_5 b/tests/bugs/modalg_7/bug30010_5 new file mode 100644 index 0000000000..21f945cdb7 --- /dev/null +++ b/tests/bugs/modalg_7/bug30010_5 @@ -0,0 +1,36 @@ +puts "TODO CR29596 All: Intersection of pair of shapes has failed" + +puts "========" +puts "OCC29900: Invalid result of FUSE operation" +puts "========" +puts "" + +cpulimit 3000 + +brestore [locate_data_file bug30010_bigFillet_Run_16_1.brep] s1 +brestore [locate_data_file bug30010_bigFillet_Run_16_2.brep] s2 + +bdrawwarnshapes 1 +bnondestructive 1 +bfuzzyvalue 0.0 +brunparallel 1 + +bclearobjects +bcleartools +baddobjects s1 +baddtools s2 +bfillds +bbop result 1 + +checkshape result +checknbshapes result -wire 78 -face 78 -shell 1 -solid 1 +checkprops result -s 131726 -v 1.22931e+006 + +incmesh result 0.01 +if {[tricheck result] != ""} { + puts "Error: Meshing not done" +} + +boptions -default + +checkview -display result -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_7/bug30010_6a b/tests/bugs/modalg_7/bug30010_6a new file mode 100644 index 0000000000..6a6d3da7fc --- /dev/null +++ b/tests/bugs/modalg_7/bug30010_6a @@ -0,0 +1,38 @@ +puts "TODO CR29596 All: Intersection of pair of shapes has failed" +puts "TODO CR30010 All: Error : The area of result shape is" +puts "TODO CR30010 All: Error : is WRONG because number of" + +puts "========" +puts "OCC29900: Invalid result of FUSE operation" +puts "========" +puts "" + +cpulimit 3000 + +brestore [locate_data_file bug30010_Eckardt_Run_20_1.brep] s1 +brestore [locate_data_file bug30010_Eckardt_Run_20_2.brep] s2 + +bdrawwarnshapes 1 +bnondestructive 1 +bfuzzyvalue 0.0 +brunparallel 1 + +bclearobjects +bcleartools +baddobjects s1 +baddtools s2 +bfillds +bbop result 1 + +checkshape result +checknbshapes result -shell 1 -solid 1 +checkprops result -s 0 -v 1.07073e+006 + +incmesh result 0.01 +if {[tricheck result] != ""} { + puts "Error: Meshing not done" +} + +boptions -default + +checkview -display result -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_7/bug30010_6b b/tests/bugs/modalg_7/bug30010_6b new file mode 100644 index 0000000000..f3aae5de5c --- /dev/null +++ b/tests/bugs/modalg_7/bug30010_6b @@ -0,0 +1,42 @@ +puts "TODO CR29596 All: Intersection of pair of shapes has failed" +puts "TODO CR30010 All: Error : The area of result shape is" +puts "TODO CR30010 All: Error : is WRONG because number of" +puts "TODO CR30010 All: Error: Meshing not done" + +puts "========" +puts "OCC29900: Invalid result of FUSE operation" +puts "========" +puts "" + +cpulimit 3000 + +brestore [locate_data_file bug30010_Eckardt_Run_20_1.brep] s1 +brestore [locate_data_file bug30010_Eckardt_Run_20_2.brep] s2 + +breducetolerance s1 +breducetolerance s2 + +bdrawwarnshapes 1 +bnondestructive 1 +bfuzzyvalue 0.0 +brunparallel 1 + +bclearobjects +bcleartools +baddobjects s1 +baddtools s2 +bfillds +bbop result 1 + +checkshape result +checknbshapes result -wire 59 -face 59 -shell 1 -solid 1 +checkprops result -s 0 -v 1.07073e+006 + +incmesh result 0.01 +if {[tricheck result] != ""} { + puts "Error: Meshing not done" +} + +boptions -default + +checkview -display result -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_7/bug30010_7 b/tests/bugs/modalg_7/bug30010_7 new file mode 100644 index 0000000000..ac0112c029 --- /dev/null +++ b/tests/bugs/modalg_7/bug30010_7 @@ -0,0 +1,36 @@ +puts "TODO CR29596 All: Intersection of pair of shapes has failed" + +puts "========" +puts "OCC29900: Invalid result of FUSE operation" +puts "========" +puts "" + +cpulimit 3000 + +brestore [locate_data_file bug30010_Eckardt_Run_27_1.brep] s1 +brestore [locate_data_file bug30010_Eckardt_Run_27_2.brep] s2 + +bdrawwarnshapes 1 +bnondestructive 1 +bfuzzyvalue 0.0 +brunparallel 1 + +bclearobjects +bcleartools +baddobjects s1 +baddtools s2 +bfillds +bbop result 1 + +checkshape result +checknbshapes result -wire 48 -face 48 -shell 1 -solid 1 +checkprops result -s 162464 -v 1.30125e+006 + +incmesh result 0.01 +if {[tricheck result] != ""} { + puts "Error: Meshing not done" +} + +boptions -default + +checkview -display result -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_7/bug30010_8 b/tests/bugs/modalg_7/bug30010_8 new file mode 100644 index 0000000000..a4b7a15f91 --- /dev/null +++ b/tests/bugs/modalg_7/bug30010_8 @@ -0,0 +1,37 @@ +puts "TODO CR29596 All: Intersection of pair of shapes has failed" +puts "TODO CR26106 All: Error: Meshing not done" + +puts "========" +puts "OCC29900: Invalid result of FUSE operation" +puts "========" +puts "" + +cpulimit 3000 + +brestore [locate_data_file bug30010_Eckardt_Run_29_1.brep] s1 +brestore [locate_data_file bug30010_Eckardt_Run_29_2.brep] s2 + +bdrawwarnshapes 1 +bnondestructive 1 +bfuzzyvalue 0.0 +brunparallel 1 + +bclearobjects +bcleartools +baddobjects s1 +baddtools s2 +bfillds +bbop result 1 + +checkshape result +checknbshapes result -wire 51 -face 51 -shell 1 -solid 1 +checkprops result -s 194270 -v 1.70455e+006 + +incmesh result 0.01 +if {[tricheck result] != ""} { + puts "Error: Meshing not done" +} + +boptions -default + +checkview -display result -2d -path ${imagedir}/${test_image}.png -- 2.39.5