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 | |
16 | set length 416.777 |
17 | |
a4eba920 |
18 | checknbshapes result -vertex 7 -edge 7 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 15 |
9ffd84ad |
19 | } |
20 | |
21 | set 2dviewer 1 |