10 meshfromstl m [locate_data_file shape.stl]
16 file delete -force ${imagedir}/${test_image}.pdf
17 set aFile ${imagedir}/${test_image}.pdf
22 if { [checkplatform -windows] } {
28 if { [file exists ${aFile}] } {
29 puts "Export to PDF file was done"
30 set filesize [file size ${aFile}]
31 if { $filesize != $refsize } {
32 puts "Error: Export to PDF file was done but size of file is incorrect (refsize = $refsize, current = $filesize)."
33 puts "Error: Compare content of resulting PDF file with reference."
34 puts "Error: Update refsize if it's necessary."
37 puts "Faulty : Export to PDF file was not done"
40 checkview -screenshot -3d -path ${imagedir}/${test_image}.png