6 restore [locate_data_file buc60409a.brep] c
7 restore [locate_data_file buc60409b.brep] s
10 if { [regexp {Faulty} $che ] == 1 } {
11 puts "Faulty BUC60409 (shape 1): Source shape is invalid. It was detected by Checkshape command"
12 puts "Body of the script was NOT executed"
15 puts "BUC60409 OK (shape 1): Source shape is valid"
16 set che [checkshape s]
17 if { [regexp {Faulty} $che ] == 1 } {
18 puts "Faulty BUC60409 (shape 2): Source shape is invalid. It was detected by Checkshape command"
19 puts "Body of the script was NOT executed"
22 puts "BUC60409 OK (shape 2): Source shape is valid"
26 checkprops result -s 31.8476
28 checkview -display result -2d -path ${imagedir}/${test_image}.png