0027557: Unstable HLR tests
[occt.git] / tests / bugs / modalg_6 / bug22793
CommitLineData
f3981c67 1puts "============"
2puts "OCC22793"
3puts "============"
4puts ""
5######################################################
6# Boolean cut operation hangs computer
7######################################################
8
9restore [locate_data_file bug22793_Positive.brep] p
10restore [locate_data_file bug22793_Void.brep] v
11
12checkshape p
13tolerance p
14
15checkshape v
16tolerance v
17
18bop p v
19bopcut result
20
58cf74e0 21checkprops result -s 1.89516e+07
22checkshape result
f3981c67 23
24set nbshapes_expected "
25Number of shapes in result
26 VERTEX : 16
27 EDGE : 24
28 WIRE : 10
29 FACE : 10
30 SHELL : 1
31 SOLID : 1
32 COMPSOLID : 0
33 COMPOUND : 1
34 SHAPE : 63
35"
ecd58be6 36checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by Boolean cut operation"
f3981c67 37
5747059b 38checkview -display result -2d -path ${imagedir}/${test_image}.png