Mail Archives: geda-user/2012/07/09/21:53:03
On Tue, Jul 10, 2012 at 02:43:18AM +0200, Gabriel Paubert wrote:
> On Mon, Jul 09, 2012 at 04:45:35PM -0700, Andrew Poelstra wrote:
> > On Tue, Jul 10, 2012 at 12:45:59AM +0200, Gabriel Paubert wrote:
> > >
> > > Thanks for pointing this out, I completely missed it, but I think
> > > that they point to the wrong 0 when looking at the source.
> > >
> >
> > Oh, good catch!
> >
> > > Corrected in the following, with a fix for octogonal apertures
> > > in which I did a mistake and ended up with two metric conversion
> > > specifications. Note that I have touched a bit the whitespace at
> > > the beginning of the comments so that they start with a tab like
> > > the surrounding code lines.
> > >
> >
> > Can you elaborate on this a bit? Specifically, do we need a new
> > test case to check on this (since our existing ones apparently
> > did not catch the bug)?
>
> Maybe, but I don't know how popular octogonal pads are. It seems
> to be a very specific feature of PCB, which may be useful for home
> etching, but subcontracting small PCB runs has become so cheap!
>
> The only time I tried to use octogonal pads, the photoplotter of my
> PCB manufacturer produced garbage, so I never use them.
>
> [Testing PCB]
>
> Ok, it seems the bug is not actually a bug since octogonal pads
> are procuded as polygons in Gerber output. I suspect that the
> OCTOGONAL case in aperture definitions is dead code.
>
This is my suspicion too. I'll investigate.
> >
> > >
> > > The fact that imperial Gerber have 2 orders or magnitude better
> > > resolution than the associated drill is a problem (25.4µm versus
> > > 0.254µm). At least metric gives micrometer resolution for both.
> > >
> >
> > Is this a problem with the spec, or our implementation?
>
> Our implementation, for losing the last digit. This causes visible
> centering problem in the smallest vias, and is a regression from
> earlier revisions.
>
Sigh.. the problem is that keeping the last digit causes overflows.
We'll have to figure out a smarter solution.
--
Andrew Poelstra
Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net
Web: http://www.wpsoftware.net/andrew
"You shouldn't trust every quote you read on the Internet." -- Socrates
- Raw text -