puts "=========================================" puts "OCC32214: 2d Offset produces wrong result" puts "=========================================" puts "" restore [locate_data_file bug32214.brep] a wire ww a donly ww openoffset 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 47 -edge 46 -wire 1 checkprops result_1 -l 2.04858 checknbshapes result_2 -t -vertex 47 -edge 46 -wire 1 checkprops result_2 -l 2.21414 checknbshapes result_3 -t -vertex 47 -edge 46 -wire 1 checkprops result_3 -l 2.37971 checknbshapes result_4 -t -vertex 47 -edge 46 -wire 1 checkprops result_4 -l 2.54528 checknbshapes result_5 -t -vertex 47 -edge 46 -wire 1 checkprops result_5 -l 2.71084 checknbshapes result_6 -t -vertex 47 -edge 46 -wire 1 checkprops result_6 -l 2.87641 checknbshapes result_7 -t -vertex 47 -edge 46 -wire 1 checkprops result_7 -l 3.04198 checknbshapes result_8 -t -vertex 43 -edge 42 -wire 1 checkprops result_8 -l 3.20723 checknbshapes result_9 -t -vertex 38 -edge 37 -wire 1 checkprops result_9 -l 3.32866 checknbshapes result_10 -t -vertex 38 -edge 37 -wire 1 checkprops result_10 -l 3.58204 checknbshapes result_11 -t -vertex 37 -edge 36 -wire 1 checkprops result_11 -l 3.67639 checknbshapes result_12 -t -vertex 37 -edge 36 -wire 1 checkprops result_12 -l 3.90941 checknbshapes result_13 -t -vertex 37 -edge 36 -wire 1 checkprops result_13 -l 4.14242 checknbshapes result_14 -t -vertex 37 -edge 36 -wire 1 checkprops result_14 -l 4.37544