0026833: Create command checkview containing all viewer types
[occt.git] / tests / bugs / moddata_1 / bug10604_4
1 puts "============"
2 puts "OCC10604"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Fuse Fails
7 #######################################################################
8
9 set BugNumber OCC10604
10
11 puts "Load first shape ..."
12 restore [locate_data_file OCC10604-1.brep] b1 
13 puts "Load second shape ..."
14 restore [locate_data_file OCC10604-2.brep] b2 
15
16 puts "Prepare boolean operation ..."
17 bop b1 b2
18
19 puts "Start boolean operation ..."
20 boptuc result
21 checkshape result
22 puts "Finish boolean operation ..."
23
24 checkprops result -s 500.39
25
26 # Analysis of "nbshapes res"
27 checknbshapes result -vertex 7 -edge 12 -wire 7 -face 7 -shell 2 -solid 2 -compsolid 0 -compound 1 -shape 38
28 checkview -display result -2d -path ${imagedir}/${test_image}.png
29