0028248: [Regression] HLR Algo result is retrieved from the last added shape only
[occt.git] / tests / bugs / modalg_7 / bug22886
CommitLineData
efd535ae 1puts "TODO OCC22886 ALL: Error : Boolean operations common is WRONG"
2
3puts "============"
4puts "OCC22886"
5puts "============"
6puts ""
7######################################################
8# Bug in boolean
9######################################################
10
11restore [locate_data_file bug22886_solid1.brep] solid1
12restore [locate_data_file bug22886_solid2.brep] solid2
13
14bcommon result1 solid1 solid2
15
16set square 947.358
17
18set nbshapes_expected "
19Number of shapes in shape
20 VERTEX : 78
21 EDGE : 134
22 WIRE : 56
23 FACE : 56
24 SHELL : 1
25 SOLID : 1
26 COMPSOLID : 0
27 COMPOUND : 1
28 SHAPE : 327
29"
30checknbshapes result1 -ref ${nbshapes_expected} -t -m "Boolean operations common"
31
32common result2 solid1 solid2
33checknbshapes result2 -ref ${nbshapes_expected} -t -m "Boolean operations common"
34
35checkview -display result1 -2d -path ${imagedir}/${test_image}_1.png
36checkview -display result2 -2d -path ${imagedir}/${test_image}_2.png