Re: [Gerbv-devel] Annotate SVG output?
Brought to you by:
spetm,
thepurlieu
From: Joerg W. <j...@ur...> - 2013-05-08 06:33:43
|
As Phlip wrote: > We plan to use libgerbv to read some 1970s format Gerber files, > write them in a 2000s format - SVG - and then display this. I would > like to allow users to see the name of each component when they > hover a mouse pointer over its rectangle, in the SVG. Are you sure your Gerber files actually even have the information you wish to preserve? Mine look like: G36* X157480Y32283D02* X163386Y32283D01* X163386Y36614D01* X157480Y36614D01* X157480Y32283D01* G37* G36* X181102Y36614D02* X175197Y36614D01* X175197Y32283D01* X181102Y32283D01* X181102Y36614D01* G37* I wouldn't know how to derive the respective component name from that ... -- cheers, Joerg .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-) |