delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2020/09/25/01:43:40

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=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=Rzs9VZBzaUKGngr0yvTgAMl0cGmoorxntusOWAVmVcM=;
b=YsBrxrRbsizeZ03wxZRkUGER4FFFX1mVkPAXCd7UEWAWgU8Y+Gs+xjPjbN7acfJIE6
quXZVmjBl4v6Y0yrnP5SJVuiecOQ8656/vSRriN0z1QJCFa6zVVj6cdnGxE+wF7pB3fx
OIWAEdXPMLc/YsLQXmhNwTlU09C8EV0ksqtgEYK/KVa9+cN1ppvguy9BfRNDmm/3HBnC
zOsWofQjQ7W3aEez6/CpbQCPzjkxw/rIZn11FElE2ioCzoq9Nv1B4IV8K8xXyil0BJNt
9/YExDWOEuDFLiUToXcsuILbVhPNMPwStr6vcEZJGRX7EiN1PeJEexuwh0jVc/3TOhw1
xjWw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=Rzs9VZBzaUKGngr0yvTgAMl0cGmoorxntusOWAVmVcM=;
b=KeknRO/zX8sxT80QTRel5jdc9soYQahmr5Lx6zLu0pMlblMjV3IxhgR2keuU5qWm56
2iMxtlIemw3lq+eeAIL2iCAy8yaUR1/b5bYdYInHsZoqS5T22Iu7UIkiMm07wHCNfd7d
5k9/xFSz62v5uPGMgEIwEv/9I+YFU4jhluc4PIVqNj/DiP0EbOaE2dGRXeJnkku22VfF
Tv62wZ7EygwnUycTbuzJ55JGajR9KxhfhuZ6hiV5jbnLjP4iwoBe2MCuBf2qSzVEZ2hv
P2mI77KdFzh51R2dX7gLvtfSVKjVyXIaISU6YCU69vfMdovou8n+gDjeiv2WhOtzrIyK
NXQg==
X-Gm-Message-State: AOAM532gkAZFdyoelnhp63Ju0WnjI5FDQ0o/Jc8zwsTnoCF/blYH6Mm+
HyzNghOcXnsABxlSOn4naa19M5wAl+QIhmUi/MdXyih0
X-Google-Smtp-Source: ABdhPJyyLJaYgROAQ1WZDsM1f7d9IW476DaF+FkRnp+1PYViQMMj4o6C8XCfv9BAz+gycLbcoyVMoObIDPWPquqEZ3I=
X-Received: by 2002:aa7:c387:: with SMTP id k7mr2168323edq.242.1601011463520;
Thu, 24 Sep 2020 22:24:23 -0700 (PDT)
MIME-Version: 1.0
References: <ad8a00e4-d929-5ce7-5f71-917f61765a0d AT neurotica DOT com>
In-Reply-To: <ad8a00e4-d929-5ce7-5f71-917f61765a0d@neurotica.com>
From: "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Date: Fri, 25 Sep 2020 14:54:10 +0930
Message-ID: <CAHUm0tMddGdAPWaB3SEgCnY1SZVYrQX9+Fbr8OnBBBS2nt7Xrw@mail.gmail.com>
Subject: Re: [geda-user] generate complex outline in pcb?
To: geda-user <geda-user AT delorie DOT com>
Reply-To: geda-user AT delorie DOT com

--0000000000009086d405b01c87aa
Content-Type: text/plain; charset="UTF-8"

I would get the image into inkscape, at which point you could either

1) if it is a non convex shape/logo, import into inkscape, do some edge
detection, and apply a suitably fat stroke width to the path, export as
graphic with a grown margin, then import the graphic, apply edge detection
to the enlarged graphic, and export the paths with

inkscape2pcb

2) if it is a convex logo/shape, import graphic into inkscape, scale enough
to create a grown border, do edge detection, and export path with

inkscape2pcb

See

https://inkscape.org/~erichVK5/%E2%98%85inkscape2pcb

Inkscape2pcb allows some scaling too.

The pcb-rnd version of inkscape2pcb will also export polygons as well as
lines degining it's border in the footprint, after confirming that the path
defines a simply polygon.

Regards,

Erich

On Fri, 25 Sep 2020 13:34 Dave McGuire (mcguire AT neurotica DOT com) [via
geda-user AT delorie DOT com], <geda-user AT delorie DOT com> wrote:

>
>    Hey folks.  I'm designing a board that needs to have a very complex
> outline.  Starting from an image file, I've gotten what I need into the
> silkscreen layer, but now I'd like to essentially take the shape that's
> there and draw a line 1mm or so around the outside of the entire shape,
> for the outline.
>
>    Can anyone suggest an automated way to do this?  I'd just trace it,
> but the outline is, as I said, very complex.
>
>                Thanks,
>                -Dave
>
> --
> Dave McGuire, AK4HZ
> New Kensington, PA
>

--0000000000009086d405b01c87aa
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div dir=3D"auto">I would get the image into inkscape, at=
 which point you could either</div><div dir=3D"auto"><br></div><div dir=3D"=
auto">1) if it is a non convex shape/logo, import into inkscape, do some ed=
ge detection, and apply a suitably fat stroke width to the path, export as =
graphic with a grown margin, then import the graphic, apply edge detection =
to the enlarged graphic, and export the paths with</div><div dir=3D"auto"><=
br></div>inkscape2pcb<div dir=3D"auto"><br></div><div dir=3D"auto">2) if it=
 is a convex logo/shape, import graphic into inkscape, scale enough to crea=
te a grown border, do edge detection, and export path with</div><div dir=3D=
"auto"><br></div><div dir=3D"auto">inkscape2pcb</div><div dir=3D"auto"><br>=
</div><div dir=3D"auto">See</div><div dir=3D"auto"><br></div><div dir=3D"au=
to"><a href=3D"https://inkscape.org/~erichVK5/%E2%98%85inkscape2pcb">https:=
//inkscape.org/~erichVK5/%E2%98%85inkscape2pcb</a><br></div><div dir=3D"aut=
o"><br></div><div dir=3D"auto">Inkscape2pcb allows some scaling too.</div><=
div dir=3D"auto"><br></div><div dir=3D"auto">The pcb-rnd version of inkscap=
e2pcb will also export polygons as well as lines degining it&#39;s border i=
n the footprint, after confirming that the path defines a simply polygon.</=
div><div dir=3D"auto"><br></div><div dir=3D"auto">Regards,</div><div dir=3D=
"auto"><br></div><div dir=3D"auto">Erich</div></div><br><div class=3D"gmail=
_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, 25 Sep 2020 13:34 Dav=
e McGuire (<a href=3D"mailto:mcguire AT neurotica DOT com">mcguire AT neurotica DOT com</=
a>) [via <a href=3D"mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>=
], &lt;<a href=3D"mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>&g=
t; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
=C2=A0 =C2=A0Hey folks.=C2=A0 I&#39;m designing a board that needs to have =
a very complex <br>
outline.=C2=A0 Starting from an image file, I&#39;ve gotten what I need int=
o the <br>
silkscreen layer, but now I&#39;d like to essentially take the shape that&#=
39;s <br>
there and draw a line 1mm or so around the outside of the entire shape, <br=
>
for the outline.<br>
<br>
=C2=A0 =C2=A0Can anyone suggest an automated way to do this?=C2=A0 I&#39;d =
just trace it, <br>
but the outline is, as I said, very complex.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Thanks,<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-Dave<br>
<br>
-- <br>
Dave McGuire, AK4HZ<br>
New Kensington, PA<br>
</blockquote></div>

--0000000000009086d405b01c87aa--

- Raw text -


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