0028567: Get rid of the unused DRAW commands based on old Boolean Operations (BRepAlgo)
[occt.git] / tests / bugs / modalg_1 / bug10846_2
1 puts "============"
2 puts "OCC10846"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Cut operation produces invalid result
7 #######################################################################
8
9 set BugNumber OCC10846
10
11 restore [locate_data_file bug10846_solid1.brep] b1 
12 restore [locate_data_file bug10846_solid2.brep] b2 
13
14 puts "Prepare boolean operation ..."
15 bop b1 b2
16
17 puts "Start boolean operation ..."
18 bopfuse result
19 puts "Finish boolean operation ..."
20
21 checkprops result -s 2309.97 
22 checkshape result
23
24 # Analysis of "nbshapes res"
25 checknbshapes result -vertex 25 -edge 45 -wire 15 -face 15 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 103
26 checkview -display result -2d -path ${imagedir}/${test_image}.png