9026dea8 |
1 | puts "=======" |
2 | puts "OCC5081" |
3 | puts "=======" |
4 | puts "" |
5 | #################################################################### |
6 | # BRepOffset_MakeOffsetShape algorithm does not return valid result. |
7 | #################################################################### |
8 | |
9 | restore [locate_data_file bug5081_shape2.brep] comp |
10 | |
11 | explode comp so |
12 | |
13 | offsetparameter 0.00001 p i |
14 | offsetload comp_1 2 |
15 | offsetperform res |
16 | |
17 | checkshape res |
18 | |
19 | set Log [bopcheck res] |
20 | if {[regexp "This shape seems to be OK" ${Log}] != 1} { |
21 | puts "Error: BRepOffset_MakeOffsetShape algorithm does not return valid result" |
22 | } |
23 | |
24 | smallview |
25 | fit |
26 | checkview -screenshot -2d -path ${imagedir}/${test_image}.png |