0029807: [Regression to 7.0.0] Impossible to cut cone from prism
[occt.git] / tests / bugs / modalg_2 / bug21540
1 puts "============"
2 puts "OCC21540"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Boolean operation section produces wrong result (OCC 6.3.1)
7 #######################################################################
8
9 set BugNumber OCC21540
10
11 puts "Load first shape ..."
12 restore [locate_data_file OCC21540-HalfSpace.brep] b1 
13
14 puts "Load second shape ..."
15 restore [locate_data_file OCC21540-Shape.brep] b2 
16
17 puts "Prepare boolean operation ..."
18 bop b1 b2
19
20 puts "Start boolean operation ..."
21 bopsection result
22 puts "Finish boolean operation ..."
23
24 checkprops result -l 462.35 
25 checkshape result 
26 checksection result
27
28 checknbshapes result -vertex 58 -edge 58 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 117
29
30 checkview -display result -2d -path ${imagedir}/${test_image}.png