[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA-dev: Gerbv and strtod
C P Tarun wrote:
> Gerbv chokes on many Excellon files which "seem to be" okay.
> I never figured out whether Gerbv's interpretation of the syntax
> of Excellon files was right or my understanding was right. I
> first encountered these problems when trying to run some
> panelised files which I'd panelised using gbtiler. In those
> cases, I found the Gerber files okay, but some of the Excellon
> drill files were totally messed up in the Gerbv display. We
> narrowed down the problem to Gerbv's dislike of leading
> zeros in the XY coordinate lines of the Excellon files. If there
> were leading zeros, Gerbv choked. If you removed those
> zeros, Gerbv displayed things fine.
part of the problem is that the Excellon format provides for changing
leading zeros, trailing zeros, a scale factor, etc. On some systems
that write out Excellon files, you can choose all those things. On some
systems that read Excellon files you can specify what the input file
has. gerbv tries its best to guess at which style you have. In the
past I know there were cases which fooled it and at least some of those
issues have been fixed. It is possible that more exist though.
-Dan
_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev