0030198: Regression to 7.1.0: BRepAlgoAPI_Fuse unlimited memory usage
[occt.git] / tests / bugs / modalg_7 / bug30198
1 puts "========"
2 puts "0030198: Regression to 7.1.0: BRepAlgoAPI_Fuse unlimited memory usage"
3 puts "========"
4 puts ""
5
6 restore [locate_data_file bug30198_src.brep] b1
7 restore [locate_data_file bug30198_tool.brep] b2
8
9 bclearobjects
10 bcleartools
11 baddobjects b1
12 baddtools b2
13 bfillds
14
15 bapibop r0 0
16 bapibop r1 1
17 bapibop r2 2
18 bapibop r3 3
19 bapibop r4 4
20
21 checkshape r0
22 checknbshapes r0 -wire 33 -face 32 -shell 1 -solid 1
23 checkprops r0 -s 46.2958 -v 11.2502
24
25 checkshape r1
26 checknbshapes r1 -wire 163 -face 151 -shell 1 -solid 1
27 checkprops r1 -s  216.217 -v 62.6126
28
29 checkshape r2
30 checknbshapes r2 -wire 153 -face 142 -shell 2 -solid 2
31 checkprops r2 -s 222.03 -v 47.9412
32
33 checkshape r3
34 checknbshapes r3 -wire 43 -face 41 -shell 1 -solid 1
35 checkprops r3 -s 40.5104 -v 3.42122
36
37 checksection r4 -r 0
38
39 checkview -display r1 -2d -path ${imagedir}/${test_image}.png