c7806cb6 |
1 | puts "============" |
2 | puts "OCC25704" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # BRepOffsetAPI_MakeOffset: some customer's cases are processed incorrect |
7 | ####################################################################### |
8 | |
9 | restore [locate_data_file bug25704_offset_lines_case3.brep] a |
10 | |
11 | if [catch { mkoffset resoffset a 1 1. i } ] { |
12 | puts "Error : mkoffset is wrong" |
13 | } else { |
14 | renamevar resoffset_1 result |
15 | |
16 | set length 38.9737 |
17 | |
a4eba920 |
18 | checknbshapes result -vertex 5 -edge 5 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 11 |
c7806cb6 |
19 | } |
20 | |
21 | smallview |
22 | display a |
23 | fit |
24 | set only_screen_axo 1 |