Re: gEDA-user: Get a pin or net list count

2011-03-06 Thread Kai-Martin Knaak
John Doty wrote:

 Copy the attached file to wherever your gnetlist back ends go (e.g. 
 /usr/local/share/gEDA/scheme/). Then:
 
 gnetlist -g stats -o wherever.txt whatever1.sch whatever1.sch ...
 
 will put the stats for the schematics in wherever.txt. Pin, package, and net 
 counts.

Very nice. IMHO, this should be part of the distro. 
Ideally, it should be possible to call the scheme script it from within 
the gschem GUI.

---)kaimartin(---
-- 
Kai-Martin Knaak
Email: k...@familieknaak.de
Öffentlicher PGP-Schlüssel:
http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Get a pin or net list count

2011-03-06 Thread Oliver King-Smith
   John,
   Thank you for sharing the gnetlist extension.  That works very nicely.
   I got a slightly different count between the pins I did manually and
   the pins your package reported.  Are you counting all pins, or just
   used pins?
   Oliver
 __

   From: John Doty j...@noqsi.com
   To: gEDA user mailing list geda-user@moria.seul.org
   Sent: Sat, March 5, 2011 5:37:37 PM
   Subject: Re: gEDA-user: Get a pin or net list count
   On Mar 5, 2011, at 12:24 PM, Oliver King-Smith wrote:
 Is there a way to get a pin or netlist count for a multi-page
   schematic
 in gschem?
 Oliver
   Copy the attached file to wherever your gnetlist back ends go (e.g.
   /usr/local/share/gEDA/scheme/). Then:
   gnetlist -g stats -o wherever.txt whatever1.sch whatever1.sch ...
   will put the stats for the schematics in wherever.txt. Pin, package,
   and net counts.
   John Doty  Noqsi Aerospace, Ltd.
   [1]http://www.noqsi.com/
   [2]j...@noqsi.com

References

   1. http://www.noqsi.com/
   2. mailto:j...@noqsi.com


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Get a pin or net list count

2011-03-06 Thread John Doty

On Mar 6, 2011, at 11:05 AM, Oliver King-Smith wrote:

 Thank you for sharing the gnetlist extension.  That works very nicely.
   I got a slightly different count between the pins I did manually and
   the pins your package reported.  Are you counting all pins, or just
   used pins?

It should count graphical pins on the symbols that represent physical parts 
(not graphical=1 symbols). The count should include unconnected pins, but not 
physical pins on the package that are not represented on the symbols. There is 
not, in general, any way to deduce the physical pin count from symbol 
attributes.

John Doty  Noqsi Aerospace, Ltd.
http://www.noqsi.com/
j...@noqsi.com




___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


gEDA-user: Get a pin or net list count

2011-03-05 Thread Oliver King-Smith
   Is there a way to get a pin or netlist count for a multi-page schematic
   in gschem?
   Oliver


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Get a pin or net list count

2011-03-05 Thread Kai-Martin Knaak
Oliver King-Smith wrote:

 Is there a way to get a pin or netlist count for a multi-page schematic in 
 gschem?

You can use Gerbv to count the number of pins and pads. See
http://geda.seul.org/wiki/geda:pcb_tips?s[]=pins[]=count#how_many_pads_are_in_my_layout

The number of nets is simply the number of lines in the *.net file 
produced by gsch2pcb

---)kaimartin(---
-- 
Kai-Martin Knaak
Email: k...@familieknaak.de
Öffentlicher PGP-Schlüssel:
http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Get a pin or net list count

2011-03-05 Thread John Griessen

On 03/05/2011 01:24 PM, Oliver King-Smith wrote:

Is there a way to get a pin or netlist count for a multi-page schematic
in gschem?


I'd run the netlist through a python script that counts the pins
that are in the form symbolname1-pinname1.  But that would give
you the pins used by the design, not the number of pins on packages.

Are you wanting number of pins on packages used in the design?

Is someone bidding the job by number of pins connected?  That would be
the first case -- pins of form symbolname1-pinname1 used in the netlist.

John
--
Ecosensory   Austin TX


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Get a pin or net list count

2011-03-05 Thread John Doty

On Mar 5, 2011, at 12:24 PM, Oliver King-Smith wrote:

   Is there a way to get a pin or netlist count for a multi-page schematic
   in gschem?
   Oliver

Copy the attached file to wherever your gnetlist back ends go (e.g. 
/usr/local/share/gEDA/scheme/). Then:

gnetlist -g stats -o wherever.txt whatever1.sch whatever1.sch ...

will put the stats for the schematics in wherever.txt. Pin, package, and net 
counts.



gnet-stats.scm
Description: Binary data


John Doty  Noqsi Aerospace, Ltd.
http://www.noqsi.com/
j...@noqsi.com




___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user