80d55adf |
1 | puts "============" |
2 | puts "OCC29698" |
3 | puts "============" |
4 | puts "" |
5 | ############################### |
6 | ## Regression vs 7.2.0: Common operation raises FLT_INVALID_OPERATION exception |
7 | ############################### |
8 | |
9 | # the case is a copy of the test case |
10 | # bugs/modalg_6/bug26952_1 |
11 | # to test the BOP operation on the same arguments |
12 | # with FPE signals switched on |
13 | |
14 | restore [locate_data_file bug26952_B41.brep] b1 |
15 | restore [locate_data_file bug26952_Tank41_1.brep] b2 |
16 | |
17 | # enable FPE signals |
18 | dsetsignal 1 |
19 | |
20 | bclearobjects |
21 | bcleartools |
22 | baddobjects b1 |
23 | baddtools b2 |
24 | bfillds |
25 | bbop result 0 |
26 | |
27 | # disable FPE signals |
28 | dsetsignal 0 |
29 | |
30 | checkprops result -s 424.666 |
31 | checknbshapes result -wire 2 -face 1 |
32 | |
33 | # check modification of the front face of the solid |
34 | savehistory h |
35 | explode b2 f |
36 | modified f_mod h b2_12 |
37 | |
38 | explode result f |
39 | checkprops f_mod -equal result_1 |
40 | |
41 | checknbshapes f_mod -ref [nbshapes result_1] |
42 | |
43 | checkview -display result -2d -path ${imagedir}/${test_image}.png |