8a6db25a |
1 | puts "============" |
2 | puts "OCC24573" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Wrong result of 2d-offset algorithm on customer's shape |
7 | ####################################################################### |
8 | |
9 | set BugNumber OCC24573 |
10 | |
11 | puts "Load shape ..." |
12 | restore [locate_data_file bug24573_Wire.brep] ww |
13 | |
14 | if [catch { mkoffset resoffset ww 1 12.5 } ] { |
15 | puts "Faulty ${BugNumber} : mkoffset is wrong" |
16 | } else { |
17 | renamevar resoffset_1 result |
18 | |
58cf74e0 |
19 | checkprops result -l 178.54 |
20 | checkshape result |
21 | checksection result |
8a6db25a |
22 | |
a4eba920 |
23 | checknbshapes result -vertex 10 -edge 10 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 21 |
8a6db25a |
24 | } |
25 | |
5747059b |
26 | checkview -display result -2d -path ${imagedir}/${test_image}.png |