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