1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#INTERFACE IGES
puts "========"
puts "OCC260"
puts "========"
pload XDE
set filepath [locate_data_file OCC260.igs]
if { [catch { igesbrep $filepath a * } catch_result] } {
puts "OCC260: Error: there is reading problem"
} else {
regexp {([-0-9.+eE]+) Shape\(s\) listed} [tpcompound result] full ShapeNumber
if {${ShapeNumber} > 0} {
puts "OCC260: OK"
} else {
puts "OCC260: Error"
}
}
checkprops result -l 4.41928
checkshape result
checksection result
checkview -display result -2d -path ${imagedir}/${test_image}.png
|