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