0024646: Wrong result done by Boolean Operation algorithm
[occt.git] / tests / bugs / modalg_5 / bug24646_2
1 puts "============"
2 puts "OCC24646"
3 puts "============"
4 puts ""
5 ######################################################
6 # Wrong result done by Boolean Operation algorithm
7 ######################################################
8
9 restore [locate_data_file bug24646_b3.brep] b1
10 restore [locate_data_file bug24646_b4.brep] b2
11
12 bop b1 b2
13 bopfuse result
14
15 set square 3.05204e+06
16
17 set nbshapes_expected "
18 Number of shapes in shape
19  VERTEX    : 22
20  EDGE      : 36
21  WIRE      : 17
22  FACE      : 14
23  SHELL     : 1
24  SOLID     : 1
25  COMPSOLID : 0
26  COMPOUND  : 1
27  SHAPE     : 92
28 "
29 checknbshapes result ${nbshapes_expected} 1 "Result done by Boolean Operation algorithm"
30
31 set 2dviewer 1