Has anyone started to experiment how to make V5 projects portable. Especially schematics. With new symbols handling (which successfully solves library priority issue) renaming
project-cache.lib and including it in the project symbols library table does not result in a project being portable.
Thus person opening my project has to have the same libraries as I have. Even more, the libraries have to go under the same Nickname in the symbol library table.
Is there a way to modify project schematics and/or
project-cache.lib to make it portable?
For example the symbol is referenced in the
.sch file with the
L power:GNDD. The same symbol is placed in the
DEF power_GNDD #PWR 0 0 Y Y 1 F P
Thus I could parse the
.sch file and in symbol reference replace colon with underscore and prepend
cache: to it (assuming
project-cache.lib goes under nickname
Does this make sense?
Obviously reversing this is trickier as library nicknames and footprint names can have underscore in it. Removing
cache: is easy but choosing which underscore to replace with will be tricky. Maybe grab hold of system and project library table and try to fit the names to the ones available from the library? What to do if transformation is not 100%. Abort it or do what can be done and leave the rest of the symbols to be grabbed from cache?