a690145aaf98063c740f83f8717a06f68d5b0462
[occt.git] / tests / bugs / modalg_2 / bug20964_5
1 puts "============"
2 puts "OCC20964"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Wrong result of cut operation for given shapes
7 #######################################################################
8
9 set BugNumber OCC20964
10
11 puts "Load first shape ..."
12 restore [locate_data_file OCC20964_revsolid.brep] b1 
13 puts "Load second shape ..."
14 restore [locate_data_file OCC20964_sphere.brep] b2 
15
16 puts "Prepare boolean operation ..."
17 bop b1 b2
18
19 puts "Start boolean operation ..."
20 boptuc result
21 puts "Finish boolean operation ..."
22
23 checkprops result -s 12101.2 
24 checkshape result
25
26 checknbshapes result -vertex 6 -edge 9 -wire 7 -face 7 -shell 2 -solid 2 -compsolid 0 -compound 1 -shape 34
27
28 checkview -display result -2d -path ${imagedir}/${test_image}.png