puts "========"
puts "0031542: Modeling Algorithms - Offset algorithm produces incomplete result in mode Complete join type Intersection"
puts "========"
puts ""

restore [locate_data_file bug31542_trim.brep] s
offsetparameter 1e-7 c i r
offsetload s 0
explode s f
offsetonface s_3 10
offsetonface s_2 5
offsetonface s_10 5
offsetperform result

checkprops result -s 83093.5 -v 1.0107e+06

unifysamedom result_unif result
checknbshapes result_unif -wire 11 -face 11 -shell 1 -solid 1

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