0027481: [Regression to OCCT 6.6.0] Modeling Algorithms - incorrect CUT on two solids
[occt.git] / tests / bugs / modalg_2 / bug20964_1
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 ..."
20bopsection result
21puts "Finish boolean operation ..."
22
58cf74e0 23checkprops result -l 323.636
24checkshape result
25checksection result
3bea4c16 26
a4eba920 27checknbshapes result -vertex 6 -edge 6 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 13
3bea4c16 28
5747059b 29checkview -display result -2d -path ${imagedir}/${test_image}.png