← Back to team overview

kicad-developers team mailing list archive

Re: some unexpected errors while testing the CvPcb program

 

> 
> This would apply to any library plugin that stores multiple footprints
> in a single file.  Although it might be confusing to the user to see
> that a footprint name with an "illegal" file name characters has been
> changed unexpectedly.  It might be more prudent to check for illegal
> names and warn the user that footprint will be renamed when saving to
> the pretty format rather than changing them at load time. 

Really, it has to happen on load, since you cannot parse and FPID string which has : or /
in the library name, and / in the footprint name.

So two separate policies are needed, one for nicknames and one for footprints, and
footprint renaming has to happen on load, else you will blow up well before you go to
save, just parsing and FPID.


Dick



Follow ups

References