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