0029351: Boolean Operations create invalid pcurves
[occt.git] / tests / bugs / modalg_2 / bug20297_5
CommitLineData
3bea4c16 1puts "============"
2puts "OCC20297"
3bea4c16 3puts "============"
4puts ""
5#######################################################################
6# Boolean operations (for ex. fuse) fail for given shapes
7#######################################################################
8#######################################################################
9
10set BugNumber OCC20297
11
12puts "Load first shape ..."
13restore [locate_data_file OCC20297_1.brep] a1
14explode a1
15renamevar a1_1 b1
16puts "Load second shape ..."
17restore [locate_data_file OCC20297_2.brep] b2
18
19puts "Prepare boolean operation ..."
20bop b1 b2
21
22puts "Start boolean operation ..."
23boptuc result
24puts "Finish boolean operation ..."
25
58cf74e0 26checkprops result -s 8402.56
27checkshape result
3bea4c16 28
a4eba920 29checknbshapes result -vertex 128 -edge 192 -wire 68 -face 68 -shell 2 -solid 2 -compsolid 0 -compound 1 -shape 461
3bea4c16 30
5747059b 31checkview -display result -2d -path ${imagedir}/${test_image}.png