← Back to team overview

kicad-developers team mailing list archive

Re: [patch?] Handling conflict between projname-cache.lib and an updated library

 

Well, that was kind of the point - a stopgap for now, to keep the current way the symbols were handled from confusing people too much. I planned for it to become obsolete :D

On Mon, Mar 30, 2015 at 05:55:34PM +0200, Tomasz Wlostowski wrote:
On 30.03.2015 17:43, Chris Pavlina wrote:
[snip]

Hi Chris,

Nice patch, although with its current purpose, it will become obsolete
in the future, as the new schematic file format Wayne's working on will
add the possibility to cache the schematic symbols within .kicad_sch
files (just like the footprint copies are stored in .kicad_pcb files now).

Nonetheless, your tool (after some minor refactoring) could make a nice
library to SCH symbol updater (or sch->library symbol extractor), a
feature present in most good EDA tools ;)

Tom


--
Chris

On Mon, Mar 23, 2015 at 01:27:35PM -0400, Wayne Stambaugh wrote:
On 3/23/2015 1:16 PM, Chris Pavlina wrote:
On Mon, Mar 23, 2015 at 01:07:33PM -0400, Wayne Stambaugh wrote:
On 3/23/2015 12:12 PM, Chris Pavlina wrote:
I like your idea - I proposed it myself, but it was not well
received ;)
[[snip]]

Please see the discussion here on why this will not work.

https://bugs.launchpad.net/kicad/+bug/1435338

I see no point in replacing one bug with another bug that doesn't fix
the underlying problem.

Haha, just kidding, I know :)

Rather than just copy the cache file, rename all of the footprints in
the copied library with a prefix or suffix, i.e. 74LS00 in the cache
becomes 74LS00_SCH in the new library.  Then rename all the components
in the schematic accordingly if the user chooses the new library
option.
This way there will be little chance of conflicting component names and
the library search order is less likely to be an issue.  This gives you
the best of both worlds.  You keep your existing components in the
schematic and you can still use the updated components from the your
libraries if you so choose.  Obviously this still wont fix the library
search ordering issue but it would be a more robust solution.

Actually, I quite like this idea.

I know it's more work but it solves the component name clash issues and
the user will still be able to use their normal libraries.


_______________________________________________
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