Mail Archives: geda-user/2012/07/10/05:08:56
--90e6ba475d450430d004c475c0bf
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Please forgive my ignorance, I think I missed something... but how can I
force PCB to generate metric Gerbers? Is there any command line option?
On Tue, Jul 10, 2012 at 3:46 AM, Andrew Poelstra <asp11 AT sfu DOT ca> wrote:
> 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=E7=97=A0 ve=
rsus
> > > > 0.254=E7=97=A0). At least metric gives micrometer resolution for bo=
th.
> > > >
> > >
> > > 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
>
>
>
--90e6ba475d450430d004c475c0bf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Please forgive my ignorance, I think I missed something... but how can I fo=
rce PCB to generate metric Gerbers? Is there any command line option?<br><b=
r><div class=3D"gmail_quote">On Tue, Jul 10, 2012 at 3:46 AM, Andrew Poelst=
ra <span dir=3D"ltr"><<a href=3D"mailto:asp11 AT sfu DOT ca" target=3D"_blank">=
asp11 AT sfu DOT ca</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On Tue, Jul 10, 2012 at 02=
:43:18AM +0200, Gabriel Paubert wrote:<br>
> On Mon, Jul 09, 2012 at 04:45:35PM -0700, Andrew Poelstra wrote:<br>
> > On Tue, Jul 10, 2012 at 12:45:59AM +0200, Gabriel Paubert wrote:<=
br>
> > ><br>
> > > Thanks for pointing this out, I completely missed it, but I =
think<br>
> > > that they point to the wrong 0 when looking at the source.<b=
r>
> > ><br>
> ><br>
> > Oh, good catch!<br>
> ><br>
> > > Corrected in the following, with a fix for octogonal apertur=
es<br>
> > > in which I did a mistake and ended up with two metric conver=
sion<br>
> > > specifications. Note that I have touched a bit the whitespac=
e at<br>
> > > the beginning of the comments so that they start with a tab =
like<br>
> > > the surrounding code lines.<br>
> > ><br>
> ><br>
> > Can you elaborate on this a bit? Specifically, do we need a new<b=
r>
> > test case to check on this (since our existing ones apparently<br=
>
> > did not catch the bug)?<br>
><br>
> Maybe, but I don't know how popular octogonal pads are. It seems<b=
r>
> to be a very specific feature of PCB, which may be useful for home<br>
> etching, but subcontracting small PCB runs has become so cheap!<br>
><br>
> The only time I tried to use octogonal pads, the photoplotter of my<br=
>
> PCB manufacturer produced garbage, so I never use them.<br>
><br>
> [Testing PCB]<br>
><br>
> Ok, it seems the bug is not actually a bug since octogonal pads<br>
> are procuded as polygons in Gerber output. I suspect that the<br>
> OCTOGONAL case in aperture definitions is dead code.<br>
><br>
<br>
</div>This is my suspicion too. I'll investigate.<br>
<div class=3D"im"><br>
> ><br>
> > ><br>
> > > The fact that imperial Gerber have 2 orders or magnitude bet=
ter<br>
> > > resolution than the associated drill is a problem (25.4=E7=
=97=A0 versus<br>
> > > 0.254=E7=97=A0). At least metric gives micrometer resolution=
for both.<br>
> > ><br>
> ><br>
> > Is this a problem with the spec, or our implementation?<br>
><br>
> Our implementation, for losing the last digit. This causes visible<br>
> centering problem in the smallest vias, and is a regression from<br>
> earlier revisions.<br>
><br>
<br>
</div>Sigh.. the problem is that keeping the last digit causes overflows.<b=
r>
We'll have to figure out a smarter solution.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
Andrew Poelstra<br>
Email: asp11 at <a href=3D"http://sfu.ca" target=3D"_blank">sfu.ca</a> OR a=
poelstra at <a href=3D"http://wpsoftware.net" target=3D"_blank">wpsoftware.=
net</a><br>
Web: =C2=A0 <a href=3D"http://www.wpsoftware.net/andrew" target=3D"_blank">=
http://www.wpsoftware.net/andrew</a><br>
"You shouldn't trust every quote you read on the Internet." -=
- Socrates<br>
<br>
<br>
</div></div></blockquote></div><br>
--90e6ba475d450430d004c475c0bf--
- Raw text -