Index: work/alien_formats/kicad/v3/README =================================================================== --- work/alien_formats/kicad/v3/README (nonexistent) +++ work/alien_formats/kicad/v3/README (revision 24621) @@ -0,0 +1,50 @@ +the files in this directory are Kicad v3 s-expression layouts that shipped with kicad as examples + +some of them have english layer naming, but the rest have italian or french layer naming + +pcb_parser.cpp in 5.1 dev branch now maps legacy non-english layer names as follows, but this will probably break on some of the variations that have been seen in the wild with front and back names, and custm signal names + + // Italian + aMap["Adesivo.Retro"] = "B.Adhes"; + aMap["Adesivo.Fronte"] = "F.Adhes"; + aMap["Pasta.Retro"] = "B.Paste"; + aMap["Pasta.Fronte"] = "F.Paste"; + aMap["Serigrafia.Retro"] = "B.SilkS"; + aMap["Serigrafia.Fronte"] = "F.SilkS"; + aMap["Maschera.Retro"] = "B.Mask"; + aMap["Maschera.Fronte"] = "F.Mask"; + aMap["Grafica"] = "Dwgs.User"; + aMap["Commenti"] = "Cmts.User"; + aMap["Eco1"] = "Eco1.User"; + aMap["Eco2"] = "Eco2.User"; + aMap["Contorno.scheda"] = "Edge.Cuts"; + + // Polish + aMap["Kleju_Dolna"] = "B.Adhes"; + aMap["Kleju_Gorna"] = "F.Adhes"; + aMap["Pasty_Dolna"] = "B.Paste"; + aMap["Pasty_Gorna"] = "F.Paste"; + aMap["Opisowa_Dolna"] = "B.SilkS"; + aMap["Opisowa_Gorna"] = "F.SilkS"; + aMap["Maski_Dolna"] = "B.Mask"; + aMap["Maski_Gorna"] = "F.Mask"; + aMap["Rysunkowa"] = "Dwgs.User"; + aMap["Komentarzy"] = "Cmts.User"; + aMap["ECO1"] = "Eco1.User"; + aMap["ECO2"] = "Eco2.User"; + aMap["Krawedziowa"] = "Edge.Cuts"; + + // French + aMap["Dessous.Adhes"] = "B.Adhes"; + aMap["Dessus.Adhes"] = "F.Adhes"; + aMap["Dessous.Pate"] = "B.Paste"; + aMap["Dessus.Pate"] = "F.Paste"; + aMap["Dessous.SilkS"] = "B.SilkS"; + aMap["Dessus.SilkS"] = "F.SilkS"; + aMap["Dessous.Masque"] = "B.Mask"; + aMap["Dessus.Masque"] = "F.Mask"; + aMap["Dessin.User"] = "Dwgs.User"; + aMap["Contours.Ci"] = "Edge.Cuts"; + +despite having a layer stack up with foreign language naming at the top of a layout file, the modules still use english naming conventions, i.e. *.Cu for layers on a through hole pin, which ignores the naming specified at the top of the layout +