Discussion:
[Gerbv-devel] Autodetection of Excellon Drill File not working in some cases.
Clemens Koller
2016-10-21 21:06:49 UTC
Permalink
Hello!

I am just testing latest gerbv-git and ran again into an always annoying feature/bug
when loading Excellon Drill Files and the autodetection of the units as well as
no of digits fails.
Attached are example files - the .drl should correlate to the .pho

This file gets according to the Edit file format dialog autodetected to:
<None> zero_suppression
<Inch> units
<4> digits

which is jsut wrong. It should be detected as:
<Trailing> zero_suppression
<mm> units
<3> digits

As far as i can tell, Gerbv simply cannot autodetect these
files as they simply contain no proper information to start guessing
the format... so, it would be wise to _not_guess_ and better _ask_
for the format and remember that for the future.

So, is it possible to provide Gerbv with a default configuration to
make sure it fits once and forever to what I need in my little metric
world and saves me repeating the same mouse-clicks over and over again?

There are other things that would be nice to remember:

units default to: <mm>
default Renderer: <Fast with XOR>
last window size: <or at least 80% of screen width and height>.
Excellon autodetect: off
<Trailing> zero_suppression
<mm> units
<3> digits

I would wish some default configuration would be loaded from ~/.config/gerbv/startup.conf
when Gerber starts.

The configure switch --enable-unit-mm would then be close to irrelevant.

Regards,

Clemens
--
Sergey Alyoshin
2016-10-23 07:46:17 UTC
Permalink
Hello, Clemens

Can you create this as a wishlist ticket on sf.net for gerbv, please?
Post by Clemens Koller
Hello!
I am just testing latest gerbv-git and ran again into an always annoying feature/bug
when loading Excellon Drill Files and the autodetection of the units as well as
no of digits fails.
Attached are example files - the .drl should correlate to the .pho
<None> zero_suppression
<Inch> units
<4> digits
<Trailing> zero_suppression
<mm> units
<3> digits
As far as i can tell, Gerbv simply cannot autodetect these
files as they simply contain no proper information to start guessing
the format... so, it would be wise to _not_guess_ and better _ask_
for the format and remember that for the future.
So, is it possible to provide Gerbv with a default configuration to
make sure it fits once and forever to what I need in my little metric
world and saves me repeating the same mouse-clicks over and over again?
units default to: <mm>
default Renderer: <Fast with XOR>
last window size: <or at least 80% of screen width and height>.
Excellon autodetect: off
<Trailing> zero_suppression
<mm> units
<3> digits
I would wish some default configuration would be loaded from ~/.config/gerbv/startup.conf
when Gerber starts.
The configure switch --enable-unit-mm would then be close to irrelevant.
Loading...