7 #vexport full_file_path {PS | EPS | TEX | PDF | SVG | PGF } : exports the view to a vector file of a given format
8 #Testing export to EPS format
13 vpoint p1 -300 -300 -300
14 vdrawtext OpenCascade -300 -300 -300 000 255 000 0 0 000 0 15 1 Courier
15 vpoint p2 -300 -300 -100
16 vdrawtext OpenCascade -300 -300 -100 000 255 000 0 0 000 0 15 1 Courier
17 vpoint p3 -100 -100 -300
18 vdrawtext OpenCascade -100 -100 -300 000 255 000 0 0 000 0 15 1 Courier
19 vpoint p4 -100 -100 -100
20 vdrawtext OpenCascade -100 -100 -100 000 255 000 0 0 000 0 15 1 Courier
23 vpoint p5 -300 -100 -300
24 vdrawtext OpenCascade -300 -100 -300 000 255 000 0 0 000 0 15 1 Courier
25 vpoint p6 -100 -300 -300
26 vdrawtext OpenCascade -100 -300 -300 000 255 000 0 0 000 0 15 1 Courier
27 vpoint p7 -300 -100 -100
28 vdrawtext OpenCascade -300 -100 -100 000 255 000 0 0 000 0 15 1 Courier
29 vpoint p8 -100 -300 -100
30 vdrawtext OpenCascade -100 -300 -100 000 255 000 0 0 000 0 15 1 Courier
32 vaxis ax1 100 100 100 100 100 0
34 box a 110 110 110 200 200 200
37 file delete -force ${imagedir}/${test_image}.eps
38 set aFile ${imagedir}/${test_image}.eps
42 if { [string compare $tcl_platform(platform) "windows"] != 0 } {
48 if { [file exists ${aFile}] } {
49 puts "Export to EPS file was done"
50 set filesize [file size ${aFile}]
51 if { $filesize != $refsize } {
52 puts "Error: Export to EPS file was done but size of file is incorrect (refsize = $refsize, current = $filesize)."
53 puts "Error: Compare content of resulting EPS file with reference."
54 puts "Error: Update refsize if it's necessary."
57 puts "Faulty : Export to EPS file was not done"