← Back to team overview

kicad-developers team mailing list archive

Re: Eagle plugin

 

Am 2019-05-16 16:31, schrieb Seth Hillbrand:
Am 2019-05-16 16:24, schrieb Wayne Stambaugh:
I'm fixing a bug[1] in the Eagle plugin in Pcbnew when loading stand
alone Eagle footprint libraries.  The fix is easy enough but I'm not
sure why the original code was written this way. When the Eagle plugin
in loads a board, it uses the board layer line widths instead of the
line width defined in the EWIRE object read from the file.  Since I'm
not an expert on the Eagle board file, do footprints in an Eagle board
file use the layer line width defined in some board layer definition or does each EWIRE definition define its own line width? Thanks in advance
for the help.


Where do you see this behavior?  In packageWire(), the width is loaded
from the wire definition itself, not a different node.

-S

I think I see where you mean. In loadPlain, there is a fixed width set rather than utilizing the wire width as given. This was due to [1] where some Eagle files are missing the width tag. It seems they could be set to the given width and then overridden by the default in the case of invalid values.

-Seth

[1] https://bugs.launchpad.net/kicad/+bug/1399737


References