699eda69f9fa30f3bb0b57de79c358fbd4c94520
[occt.git] / tests / bugs / modalg_2 / bug20964_2
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 bopcommon result
21 puts "Finish boolean operation ..."
22
23 checkprops result -s 5164.66 
24 checkshape result
25
26 checknbshapes result -vertex 8 -edge 12 -wire 6 -face 5 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 34
27
28 checkview -display result -2d -path ${imagedir}/${test_image}.png