87b48b40 |
1 | puts "============" |
2 | puts "OCC25220" |
3 | puts "============" |
4 | puts "" |
5 | ###################################################### |
7b5e532f |
6 | # Using BRepFill_OffsetWire with wires containing arc edges throws exception "Standard_NullValue" |
87b48b40 |
7 | ###################################################### |
8 | |
9 | restore [locate_data_file bug25220.brep] a |
10 | |
11 | mkoffset r a 1 -5 |
12 | |
13 | checkprops r_1 -l 939.882 |
14 | |
15 | set info [checksection r_1] |
16 | |
17 | if { [regexp "nb alone Vertices : 0" ${info}] != 1 } { |
18 | puts "Error: Result of offset is incorrect" |
19 | } else { |
20 | puts "OK : Result of offset is correct" |
21 | } |
22 | |
23 | smallview |
24 | fit |
25 | checkview -screenshot -2d -path ${imagedir}/${casename}.png |