← Back to team overview

kicad-developers team mailing list archive

Re: [Bug 1176915] Re: problem with gerber files


On Mon, May 06, 2013 at 03:09:12PM -0400, Wayne Stambaugh wrote:
> is the case.  My guess that the units for linewidth plot setting is
> either mils or decimils.  I don't think we ever intended for nanometer
> values to be saved in files.  If I knew what units the linewidth setting
> is supposed to be, the fix would be easy.  The comment in the header
> file doesn't specify the units.

Other plot widths are in decimils, the default plot line width is copied
by default from the global line width which is in BIU (from whence BIUs
were decimils). The easiest way
out would be storing the default plot width in decimils (breaking
existing files, not really a tragic thing); the clean solution would be
passing the unit for the current file to the pcb option parser and doing
there the conversion.

I'd vote for decimils plot line width. In fact the default width is only
used for the sheet border, all the other stuff has default widths.

Lorenzo Marcantonio
Logos Srl

Follow ups