ec6e685418ca847e3663b09eac8119f3deec0643
[occt.git] / tests / bugs / modalg_2 / bug20964_4
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 bopcut result
21 puts "Finish boolean operation ..."
22
23 checkprops result -s 821892 
24 checkshape result
25
26 checknbshapes result -vertex 22 -edge 35 -wire 17 -face 14 -shell 2 -solid 1 -compsolid 0 -compound 1 -shape 92
27
28 checkview -display result -2d -path ${imagedir}/${test_image}.png