0027341: Incorrect exact HLR results
[occt.git] / tests / bugs / modalg_6 / bug26848
CommitLineData
ed9ce677 1puts "========================"
2puts " OCC26848"
3puts " OCC600"
4puts "========================"
5## Result of BOPCOMMON operation is unclosed shape inspite of source solids are valid
6## Result of BO depends on arguments order
7############################################################
8cpulimit 5000
9restore [locate_data_file OCC600_1.brep] a
10checkshape a
11restore [locate_data_file OCC600_2.brep] b
12checkshape b
13bop a b
14
15bopcommon result
16
17set square 41970.8
18
19set nbshapes_expected "
20Number of shapes in shape
21 VERTEX : 55
22 EDGE : 93
23 WIRE : 40
24 FACE : 40
25 SHELL : 1
26 SOLID : 1
27 COMPSOLID : 0
28 COMPOUND : 1
29 SHAPE : 231
30"
31checknbshapes result -ref ${nbshapes_expected} -t -m "Result of Boolean operations"
32
2f772104 33checkprops result -s 41970.8
34
35checkshape result
36
5747059b 37checkview -display result -2d -path ${imagedir}/${test_image}.png