1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-05 11:24:17 +03:00

21 lines
420 B
Plaintext

#INTERFACE IGES
puts "========"
puts "OCC260"
puts "========"
pload XDE
if { [catch { igesbrep [locate_data_file OCC260.igs] 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"
}
}
set length 4.41928
set 2dviewer 0