0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug29698
CommitLineData
80d55adf 1puts "============"
2puts "OCC29698"
3puts "============"
4puts ""
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
14restore [locate_data_file bug26952_B41.brep] b1
15restore [locate_data_file bug26952_Tank41_1.brep] b2
16
17# enable FPE signals
18dsetsignal 1
19
20bclearobjects
21bcleartools
22baddobjects b1
23baddtools b2
24bfillds
25bbop result 0
26
27# disable FPE signals
28dsetsignal 0
29
30checkprops result -s 424.666
31checknbshapes result -wire 2 -face 1
32
33# check modification of the front face of the solid
34savehistory h
35explode b2 f
36modified f_mod h b2_12
37
38explode result f
39checkprops f_mod -equal result_1
40
41checknbshapes f_mod -ref [nbshapes result_1]
42
43checkview -display result -2d -path ${imagedir}/${test_image}.png