Comment 5 for bug 1790534

Revision history for this message
Seth Hillbrand (sethh) wrote :

@Devs- Question for interested parties below

It turns out that this is due to OPL's QFN44 footprint using a 0-width circle for their pin 1 marker. It is not allowed by pcbnew editing, so this is likely script-generated.

The question is how best to handle this. I see a few options:

1) Replace invalid line widths when reading the file (maybe with board defaults)
2) Check for and drop zero-width circles when rendering
3) Replace zero-width with a default width when rendering.

I like option 1 best as this corrects the board. While it doesn't necessarily represent what the user intends, given that the board file is invalid, this might be acceptable. This is also how gerber output seems to behave.

Options 2/3 are the least invasive and leave board rendering intact. But they keep the mismatch between on screen and gerber render.

Thoughts?