99c9a820 |
1 | puts "======================================================================" |
2 | puts "OCC31735: BRepOffset_MakeOffset works slowly and produces wrong result" |
3 | puts "======================================================================" |
4 | puts "" |
5 | |
6 | restore [locate_data_file bug31735_2.brep] a |
7 | explode a |
8 | thickshell result a_1 -0.1 i |
9 | |
10 | checkshape result |
11 | |
12 | checknbshapes result -t -wire 18 -face 18 -shell 2 -solid 1 |
13 | |
14 | set tolres [checkmaxtol result] |
15 | |
16 | if { ${tolres} > 0.5} { |
17 | puts "Error: bad tolerance of result" |
18 | } |
19 | |
20 | checkview -display result -2d -path ${imagedir}/${test_image}.png |
21 | |
22 | puts "TEST COMPLETED" |