9ffd84ad |
1 | puts "============" |
2 | puts "OCC25225" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Failure of 2d offset algorithm on two wires with arc |
7 | ####################################################################### |
8 | |
9 | restore [locate_data_file bug25225_2869_open.brep] a |
10 | |
11 | if [catch { mkoffset resoffset a 1 10} ] { |
12 | puts "Error : mkoffset is wrong" |
13 | } else { |
14 | renamevar resoffset_1 result |
15 | |
58cf74e0 |
16 | checkprops result -l 416.777 |
17 | checkshape result |
18 | checksection result |
9ffd84ad |
19 | |
a4eba920 |
20 | checknbshapes result -vertex 7 -edge 7 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 15 |
9ffd84ad |
21 | } |
22 | |
5747059b |
23 | checkview -display result -2d -path ${imagedir}/${test_image}.png |