0014531: Boolean Operation Algorithm fails
[occt.git] / tests / bugs / modalg_6 / bug22634
CommitLineData
3a17b168 1puts "============"
2puts "OCC22634"
3puts "============"
4puts ""
5######################################################
6# Cut operation on closed solids returns opened one
7######################################################
8
9restore [ locate_data_file bug22634_shape.brep ] shape
10restore [ locate_data_file bug22634_tool.brep ] tool
11
12checkshape shape
13
14checkshape tool
15
16bop shape tool
17bopcut result
18
19checkprops result -v 5.61524e+007
20
21checkshape result
22
23set nbshapes_expected "
24Number of shapes in result
25 VERTEX : o
26 EDGE : 12
27 WIRE : 6
28 FACE : 6
29 SHELL : 1
30 SOLID : 1
31 COMPSOLID : 0
32 COMPOUND : 1
33 SHAPE : 35
34"
35checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by Boolean cut operation"
36
37checkview -display result -2d -path ${imagedir}/${test_image}.png