0029351: Boolean Operations create invalid pcurves
[occt.git] / tests / bugs / moddata_1 / bug10604_2
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 bopfuse result
21 checkshape result
22 puts "Finish boolean operation ..."
23
24 checkprops result -s 808.713
25
26 # Analysis of "nbshapes res"
27 checknbshapes result -vertex 8 -edge 15 -wire 8 -face 7 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 41
28 checkview -display result -2d -path ${imagedir}/${test_image}.png
29