0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / bugs / modalg_2 / bug22306_5
CommitLineData
809eca9d 1puts "============"
2puts "OCC22306"
3puts "============"
4puts ""
5#######################################################################
6# Fuse between cylinder and sphere produces not vallid result
7#######################################################################
8
9set BugNumber OCC22306
10
11puts "Load first shape ..."
12restore [locate_data_file OCC22306-cyl.brep] b1
13
14puts "Load second shape ..."
15restore [locate_data_file OCC22306-sph.brep] b2
16
17puts "Prepare boolean operation ..."
18bop b1 b2
19
20puts "Start boolean operation ..."
21bopcommon result
22puts "Finish boolean operation ..."
23
24set square 129.564
25
a4eba920 26checknbshapes result -vertex 4 -edge 7 -wire 4 -face 4 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 22
809eca9d 27set 3dviewer 1