← Back to team overview

kicad-developers team mailing list archive

Re: PCBnew file format compatibility (translated layer names again...)

 

On 7/16/2015 2:14 PM, Chris Pavlina wrote:
> In the libs:
> template/ti-stellaris-boosterpack40
> template/ti-stellaris-boosterpack40_min
> template/stm32f100-discovery-shield
> 
> None of these open for me.

Good catch.  I don't use the templates so I would never have seen this.
 Would you please file a bug report with the kicad library developers on
github so we can get them fixed.

> 
> You're correct about the ones in the kicad demos directory, though. 
> "sonde xilinx" still has some French layer names, but pcbnew does appear 
> to open those correctly.

Copper layer names are still translated.  It is the non-copper layers
that cannot be translated and cause certain old boards to fail to load.
 I know this is confusing but it had something to do with the layer
stack ordering that allowed the copper layers to remain translated.
Personally, I would like to add a field to the layer definition for user
defined names that way you can name them anything you want without
messing with the default internal names.  That is something that can be
discussed during the next development cycle.

> 
> 
> On Thu, Jul 16, 2015 at 02:06:40PM -0400, Wayne Stambaugh wrote:
>> On 7/16/2015 1:40 PM, Chris Pavlina wrote:
>>> On Thu, Jul 16, 2015 at 01:37:02PM -0400, Wayne Stambaugh wrote:
>>>> On 7/16/2015 11:17 AM, Tomasz Wlostowski wrote:
>>>>> Hi again,
>>>>>
>>>>> We've received a question from another disappointed user, who is trying
>>>>> to read a .kicad_pcb file with translated layer names. For the moment
>>>>> the only way to fix this is by hand-editing the file.
>>>>
>>>> I do not believe this is entirely true.  AFAIK, using the previous
>>>> stable version, you should be able to open the board and temporarily set
>>>> the language to English and save the board which should set the layer
>>>> names in the board file back to the default English translations.
>>>
>>> Do you really think that is an acceptable solution? Nobody is going to 
>>> know to do that!
>>
>> I don't think asking the user to do something as simple as opening a
>> board in Pcbnew, and selecting Preferences->Language->English and
>> hitting the save button is unacceptable.  It's not ideal but neither is
>> making a mess out of a fairly clean piece of code to fix a poor design
>> decision made long ago.  This issue hasn't reared it's ugly head in
>> quite some time so I'm not sure how big of a deal that it really is.
>>
>>>
>>>
>>> Anyway, along these lines: there are still some files in our own demos 
>>> directory, in both kicad proper and the lib repo, that have this 
>>> problem. I was going to fix it myself but didn't have time to. Someone 
>>> probably should do that before the release.
>>
>> Which demo are you talking about?  I just opened every board file in the
>> kicad demo folder and they all opened without issue.
>>
>>>
>>>>
>>>>>
>>>>> Would you accept a patch to PCB_PARSER that resolves this issue? It
>>>>> would be a pity if the upcoming stable version wouldn't be able to read
>>>>> the files generated by the previous stable version...
>>>>
>>>> As long as the patch was sane.  I would not be willing make a huge mess
>>>> out of PCB_PARSER for this one issue when the alternate solution is
>>>> fairly simple.
>>>>
>>>>>
>>>>> Regards,
>>>>> Tom
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~kicad-developers
>>>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~kicad-developers
>>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>> --
>>> Chris
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


References