delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/07/10/05:08:56

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=fyiiWJ83b0o9nWZpt+HwipzwpF3QSNw/zLTbIyd7f9o=;
b=B1FKuRR0u9hQreuOlv12XxfMcZv8nylOjYEayquqlS/yUGCpDaVhIPpfx7zjeHCCU8
FDoKtF9JiVHK9lUtroZSNIyWdWrG1KMyE/d5iW9St24R/ojvaZvCiGsuaYa+LyxuxbQD
D8SeDBBrx+87fM9uR5ygYM3Eq8BewM3ehLV567M3k9ZJ3fuMWcKZs7VJb7KrhdKasRmK
yMpq06RlirhBB9B2nb/CJkR80WpMtyQf2kwGjrYnpxAe36EBKDM5B4acTWNfDmaSj31p
0HdG/A9QNENnvRyD3IcEEDfSw75DBJLvGrZpsL32weXRbIjlGu5CobSN449XwMkrVp1O
gM/g==
MIME-Version: 1.0
In-Reply-To: <20120710014622.GE23449@malakian.lan>
References: <20120703140236 DOT GA12646 AT visitor2 DOT iram DOT es>
<CAKakQcdTgG6E2h+UgWoh-ujP6vFDH=voY-PBJR3OFG2awqL0_A AT mail DOT gmail DOT com>
<20120705101614 DOT GA19974 AT visitor2 DOT iram DOT es>
<20120706202633 DOT GA28355 AT malakian DOT lan>
<20120706213340 DOT GA30622 AT visitor2 DOT iram DOT es>
<20120707104156 DOT 17641 DOT qmail AT stuge DOT se>
<20120708042719 DOT GE1637 AT malakian DOT lan>
<20120709224559 DOT GB4355 AT visitor2 DOT iram DOT es>
<20120709234535 DOT GD23449 AT malakian DOT lan>
<20120710004318 DOT GA28800 AT visitor2 DOT iram DOT es>
<20120710014622 DOT GE23449 AT malakian DOT lan>
Date: Tue, 10 Jul 2012 10:45:18 +0200
Message-ID: <CACwWb3BXXUHRbWWT+gjNEcR4HMq68rRrjWxWAuSGY+E-m8np_w@mail.gmail.com>
Subject: Re: [geda-user] [PATCH] Allow to create metric Gerber and drill
files, hopefully final version.
From: Levente <leventelist AT gmail DOT com>
To: geda-user AT delorie DOT com
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

--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">&lt;<a href=3D"mailto:asp11 AT sfu DOT ca" target=3D"_blank">=
asp11 AT sfu DOT ca</a>&gt;</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>
&gt; On Mon, Jul 09, 2012 at 04:45:35PM -0700, Andrew Poelstra wrote:<br>
&gt; &gt; On Tue, Jul 10, 2012 at 12:45:59AM +0200, Gabriel Paubert wrote:<=
br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Thanks for pointing this out, I completely missed it, but I =
think<br>
&gt; &gt; &gt; that they point to the wrong 0 when looking at the source.<b=
r>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Oh, good catch!<br>
&gt; &gt;<br>
&gt; &gt; &gt; Corrected in the following, with a fix for octogonal apertur=
es<br>
&gt; &gt; &gt; in which I did a mistake and ended up with two metric conver=
sion<br>
&gt; &gt; &gt; specifications. Note that I have touched a bit the whitespac=
e at<br>
&gt; &gt; &gt; the beginning of the comments so that they start with a tab =
like<br>
&gt; &gt; &gt; the surrounding code lines.<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Can you elaborate on this a bit? Specifically, do we need a new<b=
r>
&gt; &gt; test case to check on this (since our existing ones apparently<br=
>
&gt; &gt; did not catch the bug)?<br>
&gt;<br>
&gt; Maybe, but I don&#39;t know how popular octogonal pads are. It seems<b=
r>
&gt; to be a very specific feature of PCB, which may be useful for home<br>
&gt; etching, but subcontracting small PCB runs has become so cheap!<br>
&gt;<br>
&gt; The only time I tried to use octogonal pads, the photoplotter of my<br=
>
&gt; PCB manufacturer produced garbage, so I never use them.<br>
&gt;<br>
&gt; [Testing PCB]<br>
&gt;<br>
&gt; Ok, it seems the bug is not actually a bug since octogonal pads<br>
&gt; are procuded as polygons in Gerber output. I suspect that the<br>
&gt; OCTOGONAL case in aperture definitions is dead code.<br>
&gt;<br>
<br>
</div>This is my suspicion too. I&#39;ll investigate.<br>
<div class=3D"im"><br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; The fact that imperial Gerber have 2 orders or magnitude bet=
ter<br>
&gt; &gt; &gt; resolution than the associated drill is a problem (25.4=E7=
=97=A0 versus<br>
&gt; &gt; &gt; 0.254=E7=97=A0). At least metric gives micrometer resolution=
 for both.<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Is this a problem with the spec, or our implementation?<br>
&gt;<br>
&gt; Our implementation, for losing the last digit. This causes visible<br>
&gt; centering problem in the smallest vias, and is a regression from<br>
&gt; earlier revisions.<br>
&gt;<br>
<br>
</div>Sigh.. the problem is that keeping the last digit causes overflows.<b=
r>
We&#39;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>
&quot;You shouldn&#39;t trust every quote you read on the Internet.&quot; -=
- Socrates<br>
<br>
<br>
</div></div></blockquote></div><br>

--90e6ba475d450430d004c475c0bf--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019