c7806cb6 |
1 | puts "============" |
2 | puts "OCC25704" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # BRepOffsetAPI_MakeOffset: some customer's cases are processed incorrect |
7 | ####################################################################### |
8 | |
9 | circle a 0 0 0 10 |
10 | mkedge a a |
11 | wire a a |
12 | |
13 | if [catch { mkoffset resoffset a 1 2. } ] { |
14 | puts "Error : mkoffset is wrong" |
15 | } else { |
16 | renamevar resoffset_1 result |
17 | |
58cf74e0 |
18 | checkprops result -l 75.3982 |
19 | checkshape result |
20 | checksection result |
c7806cb6 |
21 | |
a4eba920 |
22 | checknbshapes result -vertex 1 -edge 1 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 3 |
c7806cb6 |
23 | } |
24 | |
25 | smallview |
26 | display a |
27 | fit |
5747059b |
28 | checkview -screenshot -2d -path ${imagedir}/${test_image}.png |