0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / bugs / modalg_2 / bug22678
CommitLineData
3bea4c16 1puts "============"
2puts "OCC22678"
3puts "============"
4puts ""
5#######################################################################
6# Bad result of the Cut operation.
7#######################################################################
8
9set BugNumber OCC22678
10
11puts "Load first shape ..."
12restore [locate_data_file bug22678_objCut.brep] b1
13
14puts "Load second shape ..."
15restore [locate_data_file bug22678_toolCut.brep] b2
16
17puts "Prepare boolean operation ..."
18bop b1 b2
19
20puts "Start boolean operation ..."
21bopcut result
22puts "Finish boolean operation ..."
23
24set square 574348
25
a4eba920 26checknbshapes result -vertex 17 -edge 29 -wire 16 -face 15 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 80
3bea4c16 27
28set 2dviewer 0