3bea4c16 |
1 | puts "============" |
2 | puts "OCC20285" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # SIGFPE Arithmetic exception on MakeCut Appendix for IPAL20277 |
7 | ####################################################################### |
8 | |
9 | set BugNumber OCC20285 |
10 | |
11 | puts "Load first shape ..." |
12 | restore [locate_data_file OCC20285-main.brep] a1 |
13 | explode a1 |
14 | renamevar a1_5 b1 |
15 | |
16 | puts "Load second shape ..." |
17 | restore [locate_data_file OCC20285-tool.brep] b2 |
18 | |
19 | puts "Prepare boolean operation ..." |
20 | bop b1 b2 |
21 | |
22 | puts "Start boolean operation ..." |
23 | bopfuse result |
24 | puts "Finish boolean operation ..." |
25 | |
58cf74e0 |
26 | checkprops result -s 113140 |
27 | checkshape result |
3bea4c16 |
28 | |
a4eba920 |
29 | checknbshapes result -vertex 18 -edge 28 -wire 11 -face 11 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 71 |
3bea4c16 |
30 | |
5747059b |
31 | checkview -display result -2d -path ${imagedir}/${test_image}.png |