puts "========"
puts "OCC25883"
puts "========"
puts ""
#######################################################
# BRepOffsetAPI_MakePipeShell produces invalid result
#######################################################

restore [locate_data_file OCC25883_shape.brep] a

smallview

explode a

mksweep a_1
addsweep a_2
buildsweep res

donly res
fit

set bug_info [checkshape res]
if {[string compare $bug_info "This shape seems to be valid"] != 0} {
  puts "ERROR: OCC25883 is reproduced."
}

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