0029807: [Regression to 7.0.0] Impossible to cut cone from prism
[occt.git] / tests / bugs / modalg_2 / bug22770_7
1 puts "================"
2 puts "OCC22770"
3 puts "================"
4 puts ""
5 #######################################################################################
6 # Improve comman sewing in DRAW
7 ######################################################################################
8
9 set BugNumber OCC22770
10
11 box a 1 1 1
12 box b 1 0 0 1 2 1
13 explode a f
14 explode b f
15 sewing result a_2 a_3 b_3 +n
16
17 checkprops result -s 3 
18 checkshape result
19 checknbshapes result -vertex 8 -edge 10 -wire 3 -face 3 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 25
20 checkmaxtol result -ref 9.9999999999999995e-008
21 checknbshapes result -shell 1
22 checkfreebounds result 6
23 checkview -display result -3d -path ${imagedir}/${test_image}.png