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