3bea4c16 |
1 | puts "============" |
2 | puts "OCC22409" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Boolean operation cut fails. Appendix to the SALOME bug: 0019957 |
7 | ####################################################################### |
8 | |
9 | set BugNumber OCC22409 |
10 | |
11 | puts "Load first shape ..." |
12 | restore [locate_data_file bug22409_bloc.brep] b1 |
13 | |
14 | puts "Load second shape ..." |
15 | restore [locate_data_file bug22409_Defaut1_new.brep] b2 |
16 | |
17 | puts "Prepare boolean operation ..." |
18 | bop b1 b2 |
19 | |
20 | puts "Start boolean operation ..." |
21 | bopcut result |
22 | puts "Finish boolean operation ..." |
23 | |
58cf74e0 |
24 | checkprops result -s 366764 |
25 | checkshape result |
3bea4c16 |
26 | |
a4eba920 |
27 | checknbshapes result -vertex 40 -edge 60 -wire 22 -face 22 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 147 |
3bea4c16 |
28 | |
5747059b |
29 | checkview -display result -2d -path ${imagedir}/${test_image}.png |