EAGLE Central Forums
Where the EAGLE community meets. Sponsored by Stratford Digital.

Home » CadSoft Support Forums » eagle.support.eng » Placing vias off grid
Placing vias off grid [message #169723] Sat, 25 February 2017 14:10 Go to next message
Marco Trapanese
Messages: 297
Registered: May 2007
Senior Member
Hi,
quite often it happens to place components off grid. The common case is
when you have several IC with different pin pitches.

One issue I have is to place vias on tracks off grid.
Simple example:

1. place a component with pins off grid
2. route tracks (say horizontally) from those pins straight out (i.e.
you will have parallel tracks spaced by the IC pitch)
3. now you want to connect a wire (vertically) to one of the tracks,
using a via

Best case: the vertical track is on grid. So only the Y position of the
via is off grid.

Worst case: also the vertical track is off grid. Both X and Y
coordinates of the via will be off grid.


The only way I found is:

1. start routing from the off grid track (in the worst case it doesn't
matter which of course), in this example I assume the horizontal one
2. set the wire bend settings to the right corner
3. change layer so the via is placed automatically
4. connect to the other track
5. with the info tool copy the X coordinate of the vertical track
6. close the info tool, and open it again on the via
7. past the value to the X coordinate

Now you have the via properly aligned with the vertical track.
It takes a long time if you have to route dozens of tracks!

And if both tracks are off grid you have to repeat the process twice, or
at least you have to move around them to go on grid.


I never wrote an ulp so before start learning I would ask if it is
possible to do the following.

I'm thinking about an alignment aid. The flow would be this:

1. route the new track regardless the grid
2. right click on each end and select "align to"
3. specify the reference (if it's a track the correct axis is inferred
automatically - the one that doesn't change, it it's an object or a via
it could ask for X or Y)
Re: Placing vias off grid [message #169724 is a reply to message #169723] Sat, 25 February 2017 14:12 Go to previous messageGo to next message
Marco Trapanese
Messages: 297
Registered: May 2007
Senior Member
Another way would be to allow mouse snapping to tracks, not only grid
and pads. But this would require a change in EAGLE so didn't consider it.

--

Il 25/02/2017 15:10, Marco Trapanese ha scritto:

> Hi,
> quite often it happens to place components off grid. The common case is
> when you have several IC with different pin pitches.
>
> One issue I have is to place vias on tracks off grid.
> Simple example:
>
> 1. place a component with pins off grid
> 2. route tracks (say horizontally) from those pins straight out (i.e.
> you will have parallel tracks spaced by the IC pitch)
> 3. now you want to connect a wire (vertically) to one of the tracks,
> using a via
>
> Best case: the vertical track is on grid. So only the Y position of the
> via is off grid.
>
> Worst case: also the vertical track is off grid. Both X and Y
> coordinates of the via will be off grid.
>
>
> The only way I found is:
>
> 1. start routing from the off grid track (in the worst case it doesn't
> matter which of course), in this example I assume the horizontal one
> 2. set the wire bend settings to the right corner
> 3. change layer so the via is placed automatically
> 4. connect to the other track
> 5. with the info tool copy the X coordinate of the vertical track
> 6. close the info tool, and open it again on the via
> 7. past the value to the X coordinate
>
> Now you have the via properly aligned with the vertical track.
> It takes a long time if you have to route dozens of tracks!
>
> And if both tracks are off grid you have to repeat the process twice, or
> at least you have to move around them to go on grid.
>
>
> I never wrote an ulp so before start learning I would ask if it is
> possible to do the following.
>
> I'm thinking about an alignment aid. The flow would be this:
>
> 1. route the new track regardless the grid
> 2. right click on each end and select "align to"
> 3. specify the reference (if it's a track the correct axis is inferred
> automatically - the one that doesn't change, it it's an object or a via
> it could ask for X or Y)
>
Re: Placing vias off grid [message #169741 is a reply to message #169723] Sun, 26 February 2017 02:34 Go to previous messageGo to next message
warrenbrayshaw
Messages: 1762
Registered: January 2010
Location: New Zealand
Senior Member
On 26/02/2017 3:10 a.m., Marco Trapanese wrote:
> Hi,
> quite often it happens to place components off grid. The common case is
> when you have several IC with different pin pitches.
>
> One issue I have is to place vias on tracks off grid.
> Simple example:
>
> 1. place a component with pins off grid
> 2. route tracks (say horizontally) from those pins straight out (i.e.
> you will have parallel tracks spaced by the IC pitch)
> 3. now you want to connect a wire (vertically) to one of the tracks,
> using a via
>
> Best case: the vertical track is on grid. So only the Y position of the
> via is off grid.
>
> Worst case: also the vertical track is off grid. Both X and Y
> coordinates of the via will be off grid.
>
>
> The only way I found is:
>
> 1. start routing from the off grid track (in the worst case it doesn't
> matter which of course), in this example I assume the horizontal one
> 2. set the wire bend settings to the right corner
> 3. change layer so the via is placed automatically
> 4. connect to the other track
> 5. with the info tool copy the X coordinate of the vertical track
> 6. close the info tool, and open it again on the via
> 7. past the value to the X coordinate
>
> Now you have the via properly aligned with the vertical track................



Most people use the freehand approach to this challenge, eyeballing it
into place.

Set the alternate grid to finest. Then with the ALT key depressed, move
the via with its attached routing segments to where you need them.

HTH
Warren

--
.... use NNTP://news.cadsoft.de and a functional news reader like
Thunderbird!
.... or http://www.eaglecentral.ca browser access to CadSoft EAGLE
support forums.
Re: Placing vias off grid [message #169761 is a reply to message #169741] Mon, 27 February 2017 07:06 Go to previous message
Marco Trapanese
Messages: 297
Registered: May 2007
Senior Member
Il 26/02/2017 03:34, warrenbrayshaw ha scritto:

> Most people use the freehand approach to this challenge, eyeballing it
> into place.
>
> Set the alternate grid to finest. Then with the ALT key depressed, move
> the via with its attached routing segments to where you need them.


It could work, but it's not so easy to put a via at the exact
coordinates by eye. I know myself: I will inspect the position to be sure :)
On the other hand EAGLE is a CAD! Hence I would expect some facilities
to position and align objects.
Previous Topic: Eagle files schematic symbols ?
Next Topic: Installation (slight) problem and suggestions
Goto Forum:
  


Current Time: Thu Aug 17 19:24:56 GMT 2017