diff --git a/tests/bugs/modalg_6/bug26954_1 b/tests/bugs/modalg_6/bug26954_1 new file mode 100644 index 0000000000..44a312e55b --- /dev/null +++ b/tests/bugs/modalg_6/bug26954_1 @@ -0,0 +1,22 @@ +puts "============" +puts "OCC26953" +puts "============" +puts "" +############################### +## First test case for Set-44 +############################### + +restore [locate_data_file bug26954_B44_1.brep] b1 +restore [locate_data_file bug26954_Tank44.brep] b2 + +bfuzzyvalue 1.e-2 +bclearobjects +bcleartools +baddobjects b1 +baddtools b2 +bfillds +bbop result 0 + +set square 14.0567 + +set 2dviewer 1 diff --git a/tests/bugs/modalg_6/bug26954_2 b/tests/bugs/modalg_6/bug26954_2 new file mode 100644 index 0000000000..86c7660e1a --- /dev/null +++ b/tests/bugs/modalg_6/bug26954_2 @@ -0,0 +1,23 @@ +puts "============" +puts "OCC26953" +puts "============" +puts "" +############################### +## First test case for Set-44 +############################### + +restore [locate_data_file bug26954_B44_1.brep] b1 +restore [locate_data_file bug26954_Tank44.brep] b2 + +ttranslate b1 0.0564592858713787 -0.764914886816214 -0.641652214962149 + +bclearobjects +bcleartools +baddobjects b1 +baddtools b2 +bfillds +bbop result 0 + +set square 14.2451 + +set 2dviewer 1 diff --git a/tests/bugs/modalg_6/bug26954_3 b/tests/bugs/modalg_6/bug26954_3 new file mode 100644 index 0000000000..9fd8b3b74e --- /dev/null +++ b/tests/bugs/modalg_6/bug26954_3 @@ -0,0 +1,22 @@ +puts "============" +puts "OCC26953" +puts "============" +puts "" +############################### +## Second test case for Set-44 +############################### + +restore [locate_data_file bug26954_B44_2.brep] b1 +restore [locate_data_file bug26954_Tank44.brep] b2 + +bfuzzyvalue 0.12 +bclearobjects +bcleartools +baddobjects b1 +baddtools b2 +bfillds +bbop result 0 + +set square 42.0108 + +set 2dviewer 1 diff --git a/tests/bugs/modalg_6/bug26954_4 b/tests/bugs/modalg_6/bug26954_4 new file mode 100644 index 0000000000..7977571307 --- /dev/null +++ b/tests/bugs/modalg_6/bug26954_4 @@ -0,0 +1,23 @@ +puts "============" +puts "OCC26953" +puts "============" +puts "" +############################### +## Second test case for Set-44 +############################### + +restore [locate_data_file bug26954_B44_2.brep] b1 +restore [locate_data_file bug26954_Tank44.brep] b2 + +ttranslate b1 0.0564592858713787 -0.764914886816214 -0.641652214962149 + +bclearobjects +bcleartools +baddobjects b1 +baddtools b2 +bfillds +bbop result 0 + +set square 40.7799 + +set 2dviewer 1 diff --git a/tests/bugs/modalg_6/bug26954_5 b/tests/bugs/modalg_6/bug26954_5 new file mode 100644 index 0000000000..6edadc7270 --- /dev/null +++ b/tests/bugs/modalg_6/bug26954_5 @@ -0,0 +1,23 @@ +puts "============" +puts "OCC26953" +puts "============" +puts "" +############################### +## Third test case for Set-44 +############################### + +restore [locate_data_file bug26954_B44_3.brep] b1 +restore [locate_data_file bug26954_Tank44.brep] b2 + +ttranslate b1 0.0564592858713787 -0.764914886816214 -0.641652214962149 + +bclearobjects +bcleartools +baddobjects b1 +baddtools b2 +bfillds +bbop result 0 + +set square 45.069 + +set 2dviewer 1