1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/iges/buc60685
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

25 lines
701 B
Plaintext
Executable File

puts "============"
puts "BUC60685"
puts "============"
puts ""
cpulimit 1500
set l [igesbrep [locate_data_file buc60685a.igs] a xst-transferrable-roots]
tpcompound result
checkshape result r
regexp {List given by xst-transferrable-roots : Nb entities selected : +([-0-9+eE]+)} ${l} full start
regexp {List given by xst-transferrable-roots : Nb entities selected : +([-0-9+eE]+)} ${l} full end
puts "start = ${start}"
puts "end = ${end}"
if { ${start} == ${end} && ${start} == 19 } {
puts "BUC60685: OK"
} else {
puts "Faulty : wrong number of translated shapes. It is ${end} instead of ${start}"
puts "BUC60685: Faulty"
}
checkview -display result -2d -path ${imagedir}/${test_image}.png