Author Topic: Taming hidden unrouted airwires  (Read 4337 times)

0 Members and 1 Guest are viewing this topic.

Offline Pack34Topic starter

  • Frequent Contributor
  • **
  • Posts: 753
Taming hidden unrouted airwires
« on: October 28, 2014, 12:45:20 am »
I've been meaning to type up something like this for a while.

I've often had the problem, on my complex designs, in routing everything manually and when I think I'm done, ratsnest says I have some unrouted airwires. I could take the easy way and run the autorouter but I'd like to know exactly what I missed so I know what the autorouter would be doing.

Cadsoft themselves provide a useful ULP to do this for you. It’s called Zoom-Unrouted, but does not come installed be default. This is all nice and good, but who wants to repeatedly click on the ULP button, hunt through your directly and select it?

ftp://ftp.cadsoft.de/eagle/userfiles/ulp/zoom-unrouted.ulp

Here’s what I've done to bring it all together. You can add it to your toolbar in Eagle! The toolbar that contains the “Design Link” link can be found in your SCR folder in your main eagle directory and is named “eagle.scr”. The script file is broken down into six sections: General, BRD (layout), SCH (schematic), LBR (library), DEV (device), SYM (symbol), and PAC (package). Since we’re looking at adding this ULP to the layout editor, we’ll be adding an entry to BRD’s MENU section. Below is the default code found here.

Code: [Select]
MENU '[designlink22.png] Search and order : Run designlink-order.ulp -general;'\
 '[pcb-service.png] PCB Service : Run pcb-service.ulp;';

Notice the format. Each item is encapsulated in a single quote, the icon is in brackets, followed by the hover text, then comes a colon to sepearate this from the command. Finally you have your run command to execute the ULP that you want. Once you add your entry, it’ll look like the one below.

Code: [Select]
MENU '[designlink22.png] Search and order : Run designlink-order.ulp -general;'\
 '[pcb-service.png] PCB Service : Run pcb-service.ulp;'\
 '[unrouted.png] Search for airwires : Run zoom-unrouted.ulp -general;';

I made a simple image for mine showing two top coppers pads with an airwire connecting them. The image you choose needs to be located in the “bin” folder in your main eagle directory. Feel free to download mine in the link below.

« Last Edit: October 28, 2014, 12:57:17 am by Pack34 »
 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4067
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: Taming hidden unrouted airwires
« Reply #1 on: October 31, 2014, 10:41:02 am »
I have a hotkey that removes all layers except unrouted and outline.
Together with the show-top, show-bottom, show-all and show-production layers hotkeys it has worked ever since.

But this script seems very useful because most unrouted nets somehow appear underneath SMD pads or inside through hole pins.
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2183
Re: Taming hidden unrouted airwires
« Reply #2 on: October 31, 2014, 05:37:15 pm »
I have a question for you guys in Eagle - is there a way to make it highlight the first net and then use a key to move through all of the nets one by one highlighting them?
 

Offline Pack34Topic starter

  • Frequent Contributor
  • **
  • Posts: 753
Re: Taming hidden unrouted airwires
« Reply #3 on: October 31, 2014, 11:14:37 pm »
I have a question for you guys in Eagle - is there a way to make it highlight the first net and then use a key to move through all of the nets one by one highlighting them?

To just select a random net and then shift to the next one in alphabetical order? Not that I know of. But you could definitely write a ULP to do it.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf