puts "=========================================" puts "OCC32214: 2d Offset produces wrong result" puts "=========================================" puts "" restore [locate_data_file bug32214.brep] a wire ww a donly ww mkoffset result ww 14 0.1 -approx front fit checkview -screenshot -2d -path ${imagedir}/${test_image}.png for {set i 1} {$i<=14} {incr i} { checkshape result_${i} set tolres [checkmaxtol result_${i}] if { ${tolres} > 1.001e-7} { puts "Error: bad tolerance of result" } } checknbshapes result_1 -t -vertex 83 -edge 83 -wire 1 checkprops result_1 -l 4.39365 checknbshapes result_2 -t -vertex 79 -edge 79 -wire 1 checkprops result_2 -l 5.02084 checknbshapes result_3 -t -vertex 76 -edge 76 -wire 1 checkprops result_3 -l 5.64778 checknbshapes result_4 -t -vertex 74 -edge 74 -wire 1 checkprops result_4 -l 6.27443 checknbshapes result_5 -t -vertex 70 -edge 70 -wire 1 checkprops result_5 -l 6.89816 checknbshapes result_6 -t -vertex 66 -edge 66 -wire 1 checkprops result_6 -l 7.51255 checknbshapes result_7 -t -vertex 65 -edge 65 -wire 1 checkprops result_7 -l 8.12807 checknbshapes result_8 -t -vertex 59 -edge 59 -wire 1 checkprops result_8 -l 8.74586 checknbshapes result_9 -t -vertex 53 -edge 53 -wire 1 checkprops result_9 -l 9.36292 checknbshapes result_10 -t -vertex 51 -edge 51 -wire 1 checkprops result_10 -l 9.97455 checknbshapes result_11 -t -vertex 50 -edge 50 -wire 1 checkprops result_11 -l 10.5864 checknbshapes result_12 -t -vertex 49 -edge 49 -wire 1 checkprops result_12 -l 11.2017 checknbshapes result_13 -t -vertex 49 -edge 49 -wire 1 checkprops result_13 -l 11.8196 checknbshapes result_14 -t -vertex 47 -edge 47 -wire 1 checkprops result_14 -l 12.4395