puts "============"
puts "OCC5157"
puts "============"
puts ""
######################################################
# DRAW commands vprops and sprops with tolerance 1.e-6 hange on attached shape.
######################################################

cpulimit 1000

catch { pload XDE }

set BugNumber OCC5157

set filepath [locate_data_file OCC5157.stp]
if { [catch { stepread $filepath a * } catch_result] } {
    puts "Faulty ${BugNumber} : here is reading problem"
} else {
    tpcompound result
}

checkprops result -s 35362.3 -eps 1.e-6
checkshape result
checkview -display result -2d -path ${imagedir}/${test_image}.png

