delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/07/11/16:17:28

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.7.2 01/07/2005 (debian 1:2.7.2-18) with nmh-1.3
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] refdes index locations
In-reply-to: <4FFD6CF7.60707@laserlinc.com>
References: <4FFD6CF7 DOT 60707 AT laserlinc DOT com>
Comments: In-reply-to Joshua Lansford <Joshua DOT Lansford AT laserlinc DOT com>
message dated "Wed, 11 Jul 2012 08:09:27 -0400."
Mime-Version: 1.0
Message-Id: <20120711201719.A8816819FBAB@turkos.aspodata.se>
Date: Wed, 11 Jul 2012 22:17:18 +0200 (CEST)
From: karl AT aspodata DOT se (Karl Hammar)
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

Joshua:
>     Quick script which creates an index of where all your symbols are in 
> gschem.  Useful if you have multiple pages full of multiple components.  
> The output looks like this:
> 
> http://public.laserlinc.com/Joshua/indexRefdesLocations.py
> ...
> C77 p10:E14
> ...

Very nice, but shouldn't you pick the center of the component instead 
of its lower left, or why not picking the lower left of the refdes, 
which is the thing one is loocking for when searching, that should be
easy to find for the program ?

> You do have to add a line for whatever title page you happen to be 
> using.  Search for supportedTitles and add a new line with a comma after 
> the current entry specifying the title page's filename, width, height, x 
> divisions and y divisions.  If you send me back new title definitions, 
> I'll add them to the script.

Instead of forcing the user to tell the program the bonding box, why 
not scan through it (recursively), let the program do the job?

///

What is the interface to finding symbols, is it in libgeda or in scheme?

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