0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[occt.git] / tests / bugs / modalg_2 / bug22678
1 puts "============"
2 puts "OCC22678"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Bad result of the Cut operation.
7 #######################################################################
8
9 set BugNumber OCC22678
10
11 puts "Load first shape ..."
12 restore [locate_data_file bug22678_objCut.brep] b1 
13
14 puts "Load second shape ..."
15 restore [locate_data_file bug22678_toolCut.brep] b2 
16
17 puts "Prepare boolean operation ..."
18 bop b1 b2
19
20 puts "Start boolean operation ..."
21 bopcut result
22 puts "Finish boolean operation ..."
23
24 checkprops result -s 574348 
25 checkshape result
26
27 checknbshapes result -vertex 17 -edge 29 -wire 16 -face 15 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 80
28
29 checkview -display result -2d -path ${imagedir}/${test_image}.png