← Back to team overview

kicad-developers team mailing list archive

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

 

On 5/6/2013 2:15 PM, l.marcantonio@xxxxxxxxxxxx wrote:
> On Mon, May 06, 2013 at 07:53:39PM +0200, l.marcantonio@xxxxxxxxxxxx wrote:
> 
> I looked it the plot option class and the default plot line width comes from
> the global default line width (it is initialized in BIU); the defaults
> in the file are fine (0,381mm) so IMHO it somehow happened during plot option
> serialization.
> 
> Since there seems no way for the plot params parser to know the unit
> from the board file that should be the reason for the behaviour. However
> I don't know how it was handled before and I don't know how the new file
> I/O works.
> 
The problem appears to be the plot dialog.  It assumes that the line
width setting is in internal units (nano-meters) but I do not think that
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.



Follow ups

References