puts "================"
puts "OCC22770"
puts "================"
puts ""
#######################################################################################
# Improve command sewing in DRAW
######################################################################################

set BugNumber OCC22770

restore [locate_data_file 22770-tramp.brep] a 
restore [locate_data_file 22770-trans.brep] b 
sewing result a b -c

checkprops result -s 1.8847e+07 
checkshape result

checknbshapes result -vertex 1061 -edge 1255 -wire 273 -face 259 -shell 22 -solid 0 -compsolid 0 -compound 1 -shape 2871
checkmaxtol result -ref 0.0451323239933289
checknbshapes result -shell 22
checkfreebounds result 1031
checkview -display result -3d -path ${imagedir}/${test_image}.png
