hi,
as now the .gvp file is a text file with the list of \path\name of layers, plus 
a layer -1 with the path that point to the directory of itself?
When a single layer is in the same directory than .gvp, the single layer path 
is omitted and only the name is written, 
when a single layer is a directory different than .gvp, the complete path is 
written.
For layer -1, if I guess correctly, it is always written the path to .gvp file 
itself.

All those paths as now are absolute, and so, contains all the path tree up to 
the root.

For example the layer -1 for an example PCB (on a Windows machine) is this:
(define-layer! -1 (cons 'filename 
"D:/AMBIENTE/Documents/Euclid/VIS/adapter3U6U/layout/GerberSupporto")(cons 
'visible #f)(cons 'color #(0 0 0)))
I think this happen on Linux too.

This can be improper or unwanted in some environments as disclose the path of 
company servers.

(I saw that moving the gerbers and gvp, opening and and re-saving the file, the 
path is updated with the new position)

Can be possible to add an option to use relative path while saving files?
This should let use "." in case of single layers in the same directory of .gvp 
file

thank you in advance,
Valerio

------------------------------------------------------------------------------
_______________________________________________
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel

Reply via email to