www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/01/14/20:10:39

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=hackvana-com.20150623.gappssmtp.com; s=20150623;
h=mime-version:sender:in-reply-to:references:from:date:message-id
:subject:to;
bh=jv0/6oYC1Ec1a8DFIi11d3W7JLNDmXJk7dCIVos+iu8=;
b=EycQ7xLFwXlhvxed7A/xtABcWSGZxayjoJCLBoEE7o9Adv//hvZ+vIPtLQwbL8jC8K
et1ZENtEawFG6gtOMPrfbopXSAzdGRqXBy687ItwGb3jWKtppKcfK9wNZZvjHBebLsYo
fd7TErzCGdRYoE5Gah6SUhH2lALKP4NNoxBgBh+Ot41+60bKlwvifigK9jd0Xjgt22+5
jwhFPFfQwXCJJD03LKF3svmC7aPTQQNqSieq2USkXh6Pusfh3Llqryqq4I0k0F5BIqsM
T6wsnrHznCMgI8aDi80ZNVVWtvgPf6bJIpTyndrKF/7Ki3Mml4NCQ4LguahQkqcNk9Dw
tXfQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
:date:message-id:subject:to;
bh=jv0/6oYC1Ec1a8DFIi11d3W7JLNDmXJk7dCIVos+iu8=;
b=tf8cf9298lz2MHdbu1utVVfcV5rR5gWbKe2uj6Xc5kPAaZ4wHB6yrsdJqgirA76AMk
nnLaVYMlog1K4pkeAJJx6+BH4yp+m3f98g4F4w22o03zShnrVAp2id0dL4k//OH0yCf8
oY7Scvou7uKcwzaTJxydrahYpZ0Jl+NJ6E8bWnKKC3JYlHuPw4+xBoCSCsWqIpPm+KK4
FLqohFo3pMMAs+z3WYCcqqLGElUQ+uJCOmKglKg8QTwnjH8NKEysbZ/CLoIOJv9rEObH
b3jXT4bCTKKFGAnkZtD2+YuCCJR2WE7KkjL72fTQygqncXyAYsDUcGEa5cjudPNDswGL
Y43Q==
X-Gm-Message-State: AIkVDXKt2GX4thvkJKIExpMwX7Cdq8x6kSeBnNV0s4b2RAAc6r2glebwUlAtaVjB8SkZJ14eq1uJ3v0CnIHEtA==
X-Received: by 10.25.16.158 with SMTP id 30mr1295256lfq.119.1484442567327;
Sat, 14 Jan 2017 17:09:27 -0800 (PST)
MIME-Version: 1.0
Sender: mjd AT hackvana DOT com
X-Originating-IP: [1.136.96.249]
In-Reply-To: <CA+KzSgLD0gVWgfH83vYyScjUDv1whGhVKVh-wnZUK8CFa3jogg@mail.gmail.com>
References: <411d8c80-deab-4bc4-2a97-9bb6829a7b7f AT ecosensory DOT com>
<20170113172136 DOT 5308f28a14d94c870a0c5f92 AT gmail DOT com> <1484402471 DOT 2289 DOT 1 DOT camel AT akerlind DOT nu>
<20170114180618 DOT d3dd2733325d88d44042d4bf AT gmail DOT com> <CA+KzSgLD0gVWgfH83vYyScjUDv1whGhVKVh-wnZUK8CFa3jogg AT mail DOT gmail DOT com>
From: "Mitch Davis (mjd+geda-user AT hackvana DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Date: Sun, 15 Jan 2017 12:09:06 +1100
X-Google-Sender-Auth: QX97pl3rr5pwoKO-Ia-xDErzIjk
Message-ID: <CA+KzSgKztXATdkKj8BCyNkP7yNZReBpG8-F9hmn28FeuiK9gMA@mail.gmail.com>
Subject: Re: [geda-user] thru hole slots in PCB
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

--001a113fb770ea8953054617b7a3
Content-Type: text/plain; charset=UTF-8

Hello again,

On Sun, Jan 15, 2017 at 11:59 AM, Mitch Davis <mjd+geda-user AT hackvana DOT com>
wrote:

>
> Erich pointed out my script to generate slots:
>
>   https://github.com/hackvana/eagle-plated-slots/
>
> Basically the idea is that if you want plated slots, you put two plated
> drills of a specially chosen diameter at either end of the slot, ie, the
> diameter is a magic value you only use for the slot end holes.  My script
> takes pairs of holes with that magic diameter, and turns them into a G85
> slot.  It relies on the two holes being one after the other in the file.
> That's true for Eagle, and may be true for gEDA.
>

Wanted to show an example.  At the top of a drill file there are tool
definitions:

M48
M72
T01C0.0118
T02C0.0315
T03C0.0394
T04C0.0400

Let's say I call my script with a diameter of 0.0315 (0.8mm, the diameter
of the tool my suppliers use for slots).

It turns this:

X14150Y22220
X14150Y25970
T02
X5831Y6845
X5831Y6095
X5024Y4579
X4274Y4579
X3469Y6095
X3469Y6845
T03
X3469Y6470

into this:

X14150Y22220
X14150Y25970
T02
X5831Y6845G85X5831Y6095
X5024Y4579G85X4274Y4579
X3469Y6095G85X3469Y6845
T03
X3469Y6470

It's just two lines joined together with G85.

Hope you guys can bring native support for plated slots to pcb-rnd!

Mitch.

--001a113fb770ea8953054617b7a3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello again,<br><div class=3D"gmail_extra"><br><div class=
=3D"gmail_quote">On Sun, Jan 15, 2017 at 11:59 AM, Mitch Davis <span dir=3D=
"ltr">&lt;<a href=3D"mailto:mjd+geda-user AT hackvana DOT com" target=3D"_blank">m=
jd+geda-user AT hackvana DOT com</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2=
04,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div =
class=3D"gmail_quote"><div><br></div><div>Erich pointed out my script to ge=
nerate slots:</div><div><br></div><div>=C2=A0 <a href=3D"https://github.com=
/hackvana/eagle-plated-slots/" target=3D"_blank">https://github.com/hackvan=
a/<wbr>eagle-plated-slots/</a></div><div><br></div><div>Basically the idea =
is that if you want plated slots, you put two plated drills of a specially =
chosen diameter at either end of the slot, ie, the diameter is a magic valu=
e you only use for the slot end holes.=C2=A0 My script takes pairs of holes=
 with that magic diameter, and turns them into a G85 slot.=C2=A0 It relies =
on the two holes being one after the other in the file.=C2=A0 That&#39;s tr=
ue for Eagle, and may be true for gEDA.</div></div></div></div></blockquote=
><div><br></div><div>Wanted to show an example.=C2=A0 At the top of a drill=
 file there are tool definitions:</div><div><br></div><div><font face=3D"mo=
nospace, monospace">M48</font></div><div><font face=3D"monospace, monospace=
">M72</font></div><div><font face=3D"monospace, monospace">T01C0.0118</font=
></div><div><font face=3D"monospace, monospace">T02C0.0315<br></font></div>=
<div><span style=3D"font-family:monospace,monospace">T03C0.0394</span><br><=
/div><div><font face=3D"monospace, monospace">T04C0.0400</font></div><div><=
br></div><div>Let&#39;s say I call my script with a diameter of=C2=A00.0315=
 (0.8mm, the diameter of the tool my suppliers use for slots).</div><div><b=
r></div><div>It turns this:</div><div><br></div><div><font face=3D"monospac=
e, monospace">X14150Y22220<br></font></div><div><font face=3D"monospace, mo=
nospace">X14150Y25970</font></div><div><font face=3D"monospace, monospace">=
T02</font></div><div><font face=3D"monospace, monospace">X5831Y6845</font><=
/div><div><font face=3D"monospace, monospace">X5831Y6095</font></div><div><=
font face=3D"monospace, monospace">X5024Y4579</font></div><div><font face=
=3D"monospace, monospace">X4274Y4579</font></div><div><font face=3D"monospa=
ce, monospace">X3469Y6095</font></div><div><font face=3D"monospace, monospa=
ce">X3469Y6845</font></div><div><font face=3D"monospace, monospace">T03<br>=
</font></div><div><font face=3D"monospace, monospace">X3469Y6470</font></di=
v><div><br></div><div>into this:</div><div><br></div><div><div><font face=
=3D"monospace, monospace">X14150Y22220<br></font></div><div><font face=3D"m=
onospace, monospace">X14150Y25970</font></div><div><font face=3D"monospace,=
 monospace">T02</font></div><div><font face=3D"monospace, monospace">X5831Y=
6845G85X5831Y6095<br></font></div><div><font face=3D"monospace, monospace">=
X5024Y4579G85X4274Y4579</font></div><div><font face=3D"monospace, monospace=
">X3469Y6095G85X3469Y6845</font></div><div><font face=3D"monospace, monospa=
ce">T03</font></div><div><font face=3D"monospace, monospace">X3469Y6470</fo=
nt></div></div><div><br></div><div>It&#39;s just two lines joined together =
with G85.</div><div><br></div><div>Hope you guys can bring native support f=
or plated slots to pcb-rnd!</div><div><br></div><div>Mitch.</div></div></di=
v></div>

--001a113fb770ea8953054617b7a3--

- Raw text -


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