0025423: Incorrect result of splitting some shapes
[occt.git] / tests / bugs / modalg_6 / bug26582
1 puts "============"
2 puts "OCC26582"
3 puts "============"
4 puts ""
5 ###############################
6 ## Wrong result obtained by Common operator.
7 ###############################
8
9 restore [locate_data_file bug26582_bx.brep] bx
10
11 explode bx 
12 copy bx_1 b1
13 copy bx_2 b2
14
15 bclearobjects
16 bcleartools
17 baddobjects b1
18 baddtools b2
19
20 bfillds
21 bbop result 0
22
23 checkprops result -s 39.1778 
24 checkshape result
25
26 set nbshapes_expected "
27 Number of shapes in shape
28  VERTEX    : 5
29  EDGE      : 7
30  WIRE      : 3
31  FACE      : 3
32  SHELL     : 0
33  SOLID     : 0
34  COMPSOLID : 0
35  COMPOUND  : 1
36  SHAPE     : 19
37 "
38 checknbshapes result -ref ${nbshapes_expected} -t -m "result obtained by Common operator"
39 checkview -display result -3d -path ${imagedir}/${test_image}.png