puts "============================================================================================="
puts "0032088: Modeling Algorithms - Empty result of offset operation in mode \"Complete\" join type \"Intersection\""
puts "============================================================================================="
puts ""

restore [locate_data_file bug32088_trimmed.brep] s

set ref_values { { 23829.6 171246      13 13 } \
                 { 25781.5 196049      14 14 } \
                 { 27762.8 222816      14 14 } \
                 { 29808.5 251596      12 12 } \
                 { 31919.5 282455      12 12 } \
                 { 34088.4 315454      12 12 } \
                 { 36315.3 350651      12 12 } \
                 { 38600   388104      12 12 } \
                 { 40942.8 427870      12 12 } \
                 { 43343.5 470009      12 12 } \
                 { 45802.1 514577      12 12 } \
                 { 48318.6 561632      12 12 } \
                 { 50893.1 611233      12 12 } \
                 { 53525.6 663438      12 12 } \
                 { 56215.9 718304      12 12 } \
                 { 58964.3 775889      12 12 } \
                 { 61770.5 836251      12 12 } \
                 { 64634.7 899449      12 12 } \
                 { 67556.9 965540      12 12 } \
                 { 70537   1.03458e+06 12 12 } }

perform_offset_increasing s 1 20 1 $ref_values

copy r5 result
copy r5_unif result_unif

checkview -display result_unif -2d -path ${imagedir}/${test_image}.png
