Correction of test-cases according to OCC23150 requirements (new format of checknbsha...
[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
21set square 1.89516e+07
22
23set nbshapes_expected "
24Number of shapes in result
25 VERTEX : 16
26 EDGE : 24
27 WIRE : 10
28 FACE : 10
29 SHELL : 1
30 SOLID : 1
31 COMPSOLID : 0
32 COMPOUND : 1
33 SHAPE : 63
34"
ecd58be6 35checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by Boolean cut operation"
f3981c67 36
37set 2dviewer 1