delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/10/31/20:22:33

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <508FB886.5000106@laserlinc.com>
Date: Tue, 30 Oct 2012 07:22:46 -0400
From: Joshua Lansford <Joshua DOT Lansford AT laserlinc DOT com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: geda-user AT delorie DOT com
Subject: [geda-user] crossRefSignals
References: <CANqhZFxYH+Y5U1ai7ey-s+4nz6eYDM2vx3aMDb7WuigNXmi4AQ AT mail DOT gmail DOT com> <50892DC8 DOT 6080308 AT laserlinc DOT com> <201210251629 DOT q9PGTfes029100 AT envy DOT delorie DOT com> <50897B77 DOT 1030401 AT laserlinc DOT com> <201210251859 DOT q9PIxw7n004895 AT envy DOT delorie DOT com> <F720A597-665F-40D1-B1A4-E02506EE5D09 AT jump-ing DOT de> <508AB7C9 DOT 9010903 AT laserlinc DOT com>
In-Reply-To: <508AB7C9.9010903@laserlinc.com>
Reply-To: geda-user AT delorie DOT com

Hey guys.  Here is a new script I have been using someone else might 
enjoy.  I sent this out but I didn't see it come in so I am sending it 
out again.  Sorry if you get a duplicate.

http://public.laserlinc.com/Joshua/crossRefSignals.py

It automatically maintains  page numbers next to off page connectors in 
a multi page gschem project.  The page number is defined by the 
alphabetical sorting of the filename of the page.  So if all your pages 
have the prefixes of sheet01Something.sch sheet02SomethingElse.sch the 
page numbers work.

You need to have a visible attribute called otherPage in your output 
symbol and input symbol's.  The result looks like this:
http://public.laserlinc.com/Joshua/crossRefSignals.png

This does need a file in the current folder named symbolDirs which has a 
reference to each folder that contains symbols used in the project.

Of course backup schematics before using.

It also generates a list off all nets which span off of the current page 
and puts that in the schematic as well.

This script assumes a flat design.

It is run by passing a reference to all pages in the schematic.  So 
assuming the prefixes mentioned above launching the tool looks like this:

./crossRefSignals.py sheet*.sch
~Joshua

- Raw text -


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