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

restore [locate_data_file bug31542_dom-18777.input.brep] s
offsetparameter 1e-7 c i r
offsetload s 15
offsetperform result

checkprops result -s 799301 -v 3.0392e+07

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

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