0031304: Configuration - TKACIS building failure due to duplicated symbol GeomFillFus...
[occt.git] / tests / bugs / modalg_6 / bug25152
1 puts "============"
2 puts "OCC25152"
3 puts "============"
4 puts ""
5 #######################################################
6 # Incorrect result of Boolean Union by BRepAlgoAPI_Fuse
7 #######################################################
8
9 isos 0
10
11 restore [locate_data_file bug25152.brep] a
12
13 explode a
14
15 checkshape a_1
16 tolerance a_1
17
18 checkshape a_2
19 tolerance a_2
20
21 bop a_1 a_2
22 bopfuse result
23
24 checkprops result -s 64.4145 
25
26 checkshape result
27
28 set nbshapes_expected "
29 Number of shapes in result
30  VERTEX    : 18
31  EDGE      : 26
32  WIRE      : 12
33  FACE      : 11
34  SHELL     : 1
35  SOLID     : 1
36  COMPSOLID : 0
37  COMPOUND  : 1
38  SHAPE     : 70
39 "
40 checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by Boolean cut operation"
41
42 checkview -display result -2d -path ${imagedir}/${test_image}.png