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: 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> From: "Mitch Davis (mjd+geda-user AT hackvana DOT com) [via geda-user AT delorie DOT com]" Date: Sun, 15 Jan 2017 12:09:06 +1100 X-Google-Sender-Auth: QX97pl3rr5pwoKO-Ia-xDErzIjk Message-ID: Subject: Re: [geda-user] thru hole slots in PCB To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=001a113fb770ea8953054617b7a3 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 Precedence: bulk --001a113fb770ea8953054617b7a3 Content-Type: text/plain; charset=UTF-8 Hello again, On Sun, Jan 15, 2017 at 11:59 AM, Mitch Davis 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
Hello again,

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

Erich pointed out my script to ge= nerate 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 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.

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

M48
T01C0.0118
T02C0.0315
=
T03C0.0394
<= /div>
T04C0.0400
<= br>
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).
It turns this:

X14150Y22220
X14150Y25970
= T02
X5831Y6845<= /div>
X5831Y6095
<= font face=3D"monospace, monospace">X5024Y4579
X4274Y4579
X3469Y6095
X3469Y6845
T03
=
X3469Y6470

into this:

X14150Y22220
X14150Y25970
T02
X5831Y= 6845G85X5831Y6095
= X5024Y4579G85X4274Y4579
T03
X3469Y6470

It's just two lines joined together = with G85.

Hope you guys can bring native support f= or plated slots to pcb-rnd!

Mitch.
--001a113fb770ea8953054617b7a3--