Eagle Coordinates/Origin don't match with ViewMate

I’ve created a PCB in Eagle with the origin in the lower left corner of the board.

When I generate the gerbers and view in ViewMate (or Viewplot), the lower left corner of my board is not at the (0,0) origin. It is almost at (110,470)mil but in both mil and mm grids, it’s not at an integer location. Is this a flaw in my design? A bug in the gerber generation? A bug in the ViewMate/Viewplot software?

How can I fix this, or is it not a problem?

Should I post all or part of my top layer, which has the board outline on it?

Thanks

You may have to tell ViewMate that the Gerber data is in 2.4 format. If that doesn’t work, then make sure that in both “excellon.cam” and “gerb274x.cam” that “Offset” for both X & Y are both 0. Also make sure that “pos coord” is checked. Oh, and make sure that “mirror” is not checked for any layers if you are getting your board made at a board house.

BTW, alternate Gerber viewers are GCPrevue and Gerbview. Both are free.

Hi Dave,

“Offset” for both X & Y are both 0.

“pos coord” is checked.

“mirror” is not checked.

That is indeed my setup. I changed some of the placement and routing on the board, and now the offset is at a different location.

When viewing in Viewmate or Viewplot, both top and bottom layers align as they should, and when importing the drill file I need to manually change it to 2.4 for the holes to align where they should.

All the layers have this same offset from the origin.

Anything else you can think of? Would you care to look at these three files?

For the record, I’m using Eagle 5.6.0 Light.

I just downloaded a sample file from Sparkfun (http://www.sparkfun.com/tutorial/Beginn … ut-v10.zip) and ran the sparkfun cam job on it. Again, it produced an offset to the origin.

Should I take my questions to the Eagle forum?

goldscott:
For the record, I’m using Eagle 5.6.0 Light.

I just downloaded a sample file from Sparkfun (http://www.sparkfun.com/tutorial/Beginn … ut-v10.zip) and ran the sparkfun cam job on it. Again, it produced an offset to the origin.

Should I take my questions to the Eagle forum?

I looked at the Gerbers of some boards I had designed, using GCPrevue (v17.1.2). And then I downloaded ViewMate v10.6.34 and looked at those same boards. Both ViewMate & GCPrevue showed the left bottom corner of the board (I had a board outline in the top silk layer) offset from the viewer's absolute 0,0 position. The offset to the board's left bottom corner for 1 of my boards is:
Viewmate: x=0.426  y=0.50
GCPrevue: x=0.392  y=0.465

So as long as all of the layers line up, I wouldn’t worry about the viewer’s offset to the board’s 0,0 position.

Thanks Dave.

I submitted my board design to BatchPCB and the origin offset wasn’t a problem.

I’m observing the same problem with offsets. Even though I carefully place a hole or the corner of a box at x0y0, it shows up somewhere else in the cam output. It may not bother a commercial house working with a set of files all run at the same time but I’m making my own boards and it would be a lot easier it I could get the origin to stay at zero. Does anyone know of a fix for this? I work around it by placing a reference hole on the board at x0/y0, running cam on it and looking at the offset in the output. I then enter the negative of the offset in the cam window and re-run the job. Is there a better way?

Thanks,

Mark

Hey Mark,

I never did figure out a fix for it and I’m still curiously waiting for a solution.

There is a “positive coordinates” option in the gerber output. This shifts the board image such that all coordinates are >=0. This step is whats responsible for output coords not matching input. I ran into this exact issue while working on some software yesterday.

This option might be necessary if the fab is using old or broken CAM software.

–David Carne

Wow - I tried turning off ‘positive coordinates,’ re-ran my test job and things

moved back to zero . . . and my sanity is returning . . .

I saw that option before and assumed it needed to be on in the ‘light’ edition

to keep everything in the positive quadrant - so much for assuming :slight_smile:

Thanks!

Mark