8 #vexport full_file_path {PS | EPS | TEX | PDF | SVG | PGF } : exports the view to a vector file of a given format
14 meshfromstl m [locate_data_file shape.stl]
20 file delete -force ${imagedir}/${test_image}.pdf
21 set aFile ${imagedir}/${test_image}.pdf
25 if { [checkplatform -windows] } {
31 if { [file exists ${aFile}] } {
32 puts "Export to PDF file was done"
33 set filesize [file size ${aFile}]
34 if { $filesize != $refsize } {
35 puts "Error: Export to PDF file was done but size of file is incorrect (refsize = $refsize, current = $filesize)."
36 puts "Error: Compare content of resulting PDF file with reference."
37 puts "Error: Update refsize if it's necessary."
40 puts "Faulty : Export to PDF file was not done"
43 checkview -screenshot -3d -path ${imagedir}/${test_image}.png