← Back to team overview

kicad-developers team mailing list archive

Re: [Bug 1156085] Re: Spaces in layer names in kicad_pcb files [solution attached]

 

On 03/18/2013 07:37 AM, Giorgio Croci Candiani wrote:
> Hi Dick,
> as explained, I discovered just later that the problem was entirely caused by the translation files; nothing was wrong in the original .brd file (sorry I misled, once I realized what might have happened I also tested a brand new .kicad_pcb file).
>
> The translation files were the ones that did actually include illegal spaces (though I wasn't aware yet that they were illegal), particularly at the tail.
> I also just realized that localized layer names are subtituted anew each time the file is saved.
>  
> But I am still a little puzzled by the fact that the trailing space may be removed or not, within the same file. That spells inconsistence to me, even with an illegal character. That's fine by me, just thought it was worth pointing out.
>


IMO:


The support for "Native Language Standard" layer names in *.kicad_pcb
files
should be dropped.  This is because User defined names can be native
language,
and English Standard names are worth memorizing because they show up
in pretty.

That support is basically not needed, complicated the code and ensuing
discussions.

The driver for me is the adoption of English Standard names in the
pretty footprint format.

It also seems to be some kind of vulnerability WRT translationsdone
without a full grasp.


Dick


See attached.


Layer Name choices

1) User defined
2) English Standard
3) Native Language Standard



Pretty Modules
==============

Layer Names are always English Standard.  This is because numeric layer numbers
are not used, and we need transcontinental, and trans-project portablity of footprint files.


Pretty Modules (Footprints)

--------------------------------+------------+
Name type                       |  Supported |
+-------------------------------+------------+
1) User defined                 |   NO       |
2) English Standard             |   YES      |
3) Native Language Standard     |   NO       |
--------------------------------+------------+


*.kicad_pcb Files
=================

--------------------------------+------------+
Name type                       |  Supported |
+-------------------------------+------------+
1) User defined                 |   YES      |
2) English Standard             |   YES      |
3) Native Language Standard     |   YES      |
--------------------------------+------------+

The support for "Native Language Standard" layer names in *.kicad_pcb files
should be dropped.  This is because User defined names can be native language,
and English Standard names are worth memorizing because they show up in pretty.


Follow ups