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 bug25491_offset_lines_2.brep] a |
10 | |
11 | if [catch { mkoffset resoffset a 1 40. i } ] { |
12 | puts "Error : mkoffset is wrong" |
13 | } else { |
14 | renamevar resoffset_1 result |
15 | |
58cf74e0 |
16 | checkprops result -l 770 |
17 | checkshape result |
18 | checksection result |
c7806cb6 |
19 | |
a4eba920 |
20 | checknbshapes result -vertex 8 -edge 8 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 17 |
c7806cb6 |
21 | } |
22 | |
23 | smallview |
24 | display a |
25 | fit |
5747059b |
26 | checkview -screenshot -2d -path ${imagedir}/${test_image}.png |