0026938: Boolean operations fail between two ellipsoids
[occt.git] / tests / bugs / modalg_1 / bug10846_4
CommitLineData
61c421bf 1puts "============"
2puts "OCC10846"
3puts "============"
4puts ""
5#######################################################################
6# Cut operation produces invalid result
7#######################################################################
8
9set BugNumber OCC10846
10
11restore [locate_data_file bug10846_solid1.brep] b1
12restore [locate_data_file bug10846_solid2.brep] b2
13
14puts "Prepare boolean operation ..."
15bop b1 b2
16
17puts "Start boolean operation ..."
18boptuc result
19puts "Finish boolean operation ..."
20
58cf74e0 21checkprops result -s 1982.63
22checkshape result
61c421bf 23
24# Analysis of "nbshapes res"
a4eba920 25checknbshapes result -vertex 19 -edge 33 -wire 14 -face 14 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 83
5747059b 26checkview -display result -2d -path ${imagedir}/${test_image}.png