1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-15 11:44:07 +03:00
occt/tests/bugs/modalg/buc60409_3
2012-12-05 17:17:05 +04:00

30 lines
856 B
Plaintext

puts "================="
puts " BUC60409 "
puts " COMMON "
puts "================="
restore [locate_data_file buc60409a.brep] c
restore [locate_data_file buc60409b.brep] s
set che [checkshape c]
if { [regexp {Faulty} $che ] == 1 } {
puts "Faulty BUC60409 (shape 1): Source shape is invalid. It was detected by Checkshape command"
puts "Body of the script was NOT executed"
renamevar c result
} else {
puts "BUC60409 OK (shape 1): Source shape is valid"
set che [checkshape s]
if { [regexp {Faulty} $che ] == 1 } {
puts "Faulty BUC60409 (shape 2): Source shape is invalid. It was detected by Checkshape command"
puts "Body of the script was NOT executed"
renamevar s result
} else {
puts "BUC60409 OK (shape 2): Source shape is valid"
bcommon result c s
}
}
set square 4.89279
set 2dviewer 0