9aa684ed |
1 | puts "TODO OCC25919 ALL: Error: Offset is not done." |
2 | puts "TODO OCC25919 ALL: Faulty OCC305 : function MKOFFSET works wrongly" |
58cf74e0 |
3 | puts "TODO OCC25919 ALL: Error: The command cannot be built" |
a87752f3 |
4 | |
5 | puts "========" |
6 | puts "OCC305" |
7 | puts "========" |
8 | puts "" |
6d368502 |
9 | ########################################################### |
a87752f3 |
10 | # BRepOffsetAPI_MakeOffset: problem with offsetting a wire |
6d368502 |
11 | ########################################################### |
a87752f3 |
12 | |
13 | catch {pload XDE} |
14 | |
15 | restore [locate_data_file OCC305.brep] a |
352ffd73 |
16 | checkshape a |
a87752f3 |
17 | |
18 | if [catch {mkoffset result a 1 0.5 } catch_result] { |
6d368502 |
19 | puts "Faulty OCC305 : function MKOFFSET works wrongly" |
a87752f3 |
20 | } else { |
6d368502 |
21 | set che [checkshape result] |
a87752f3 |
22 | } |
58cf74e0 |
23 | checkprops result -s 0 |
5747059b |
24 | checkview -display result -2d -path ${imagedir}/${test_image}.png |