← Back to team overview

kicad-developers team mailing list archive

Re: PATCH: Fix default line widths for non-mm units in DXF import

 

Le 29/05/2017 à 08:33, Cirilo Bernardo a écrit :
> Attached is the corresponding patch for the STABLE branch.
> 
> - Cirilo

Hi Cirilo,

I pushed your patches on stable and master branches.
Thanks.


> 
> 
> On Fri, May 26, 2017 at 2:10 AM, Cirilo Bernardo
> <cirilo.bernardo@xxxxxxxxx> wrote:
>> In the DXF importer a default line width of 0.1 is used when no line width
>> is specified in the file. That's all fine when the file specifies mm as the
>> unit of length but we have a conversion problem if we use any other unit.
>> Historically this is due to KiCad assuming that DXF files were all in some
>> specific unit (I can't recall now if it was inch or mm). When I worked on
>> the DXF importer to use the unit specified in the file (only defaulting to mm
>> if no unit was specified) I missed this issue with line width conversions.


-- 
Jean-Pierre CHARRAS


References