0025423: Incorrect result of splitting some shapes
[occt.git] / tests / bugs / modalg_6 / bug22609
CommitLineData
15b9dfc9 1puts "============="
2puts "OCC22609"
3puts "============="
4puts ""
5###########################################################
6# Cut operation between two solids produces not valid shape
7###########################################################
8
9restore [locate_data_file bug22609.brep] s
10
11explode s
12
13checkshape s_1
14tolerance s_1
15
16checkshape s_2
17tolerance s_2
18
19bop s_2 s_1
20bopcut result
21
22checkshape result
23
24checkprops result -s 1.90251e+07
25
26set nbshapes_expected "
27Number of shapes in result
28 VERTEX : 68
29 EDGE : 102
30 WIRE : 36
31 FACE : 36
32 SHELL : 1
33 SOLID : 1
34 COMPSOLID : 0
35 COMPOUND : 1
36 SHAPE : 245
37"
38checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by Boolean cut operation"
39
40checkview -display result -2d -path ${imagedir}/${test_image}.png