delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/01/27/18:51:18

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 (debian 1:2.8.0~rc1-2) with nmh-1.5
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
From: karl AT aspodata DOT se
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] identical symbol names
In-reply-to: <CAG4ve9LgHNoVZoGaGgF67tadJ_n=L6Uy1g=UPPrkM0fL6Rgufw@mail.gmail.com>
References: <CAG4ve9LgHNoVZoGaGgF67tadJ_n=L6Uy1g=UPPrkM0fL6Rgufw AT mail DOT gmail DOT com>
Comments: In-reply-to =?KOI8-R?B?4czFy9PFyiDowdLYy8/X08vJyg==?= <svetonomer AT gmail DOT com>
message dated "Mon, 27 Jan 2014 19:31:07 +0400."
Mime-Version: 1.0
Message-Id: <20140127234944.924148045B78@turkos.aspodata.se>
Date: Tue, 28 Jan 2014 00:49:44 +0100 (CET)
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

svetonomer AT gmail DOT com:
> I include work copy of CVS repo in my gafrc.
> And I have added some symbols from work copy in my new sheme in gschem,
> save and close.
> But when I have reopen my scheme I find other symbols in my scheme. They
> are have other view and reference point.
> At result my scheme is broken.
> 
> Reason of this is absence of path attribute of symbol in .sch file.
> Good idea of using repository of symbols are not possible.

Yes, that is a pity.

> It would be nice added in .sch info about symbol (maybe whole symbol) or
> make names of repository symbols are NON indentical.
> 
> It would be convenient to use the entire repository at once

Yes, it is.

I noted that problem in:
 http://archives.seul.org/geda/user/May-2011/msg00646.html

How do you propose to solve it?

Currently, when useing a symbol, it looks like this in the gschem
file:

  C 53500 46700 1 0 0 triac-1.sym
  {
  T 54600 47500 5 10 1 1 0 0 1
  refdes=TR?
  T 53500 46700 5 10 0 1 0 0 1
  footprint=TO220
  }

and if you include the whole cvs give gschem/gsch2pcb/pcb the
problem of choosing the "right" one.

If we add part of the path to the baseneme it could look like

  C 53500 46700 1 0 0 dj_delorie/symbols/nvsemis/triac-1.sym

but I propose instead to add an attribute condition like:

  C 53500 46700 1 0 0 triac-1.sym "author=DJ Delorie"

as in:

 $ grep author triac-1.sym 
 author=DJ Delorie

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019