3bea4c16 |
1 | puts "============" |
2 | puts "OCC20964" |
3bea4c16 |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Wrong result of cut operation for given shapes |
7 | ####################################################################### |
8 | |
9 | set BugNumber OCC20964 |
10 | |
11 | puts "Load first shape ..." |
12 | restore [locate_data_file OCC20964_revsolid.brep] b1 |
13 | puts "Load second shape ..." |
14 | restore [locate_data_file OCC20964_sphere.brep] b2 |
15 | |
16 | puts "Prepare boolean operation ..." |
17 | bop b1 b2 |
18 | |
19 | puts "Start boolean operation ..." |
20 | bopcommon result |
21 | puts "Finish boolean operation ..." |
22 | |
58cf74e0 |
23 | checkprops result -s 5164.66 |
24 | checkshape result |
3bea4c16 |
25 | |
a4eba920 |
26 | checknbshapes result -vertex 8 -edge 12 -wire 6 -face 5 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 34 |
3bea4c16 |
27 | |
5747059b |
28 | checkview -display result -2d -path ${imagedir}/${test_image}.png |