Mail Archives: geda-user/2017/01/14/20:10:39
--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"><<a href=3D"mailto:mjd+geda-user AT hackvana DOT com" target=3D"_blank">m=
jd+geda-user AT hackvana DOT com</a>></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'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'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'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 -