delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2020/09/25/09:47:05

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=cNrMOx4ncnG+zTrC8d3LitaPfyqZ8fKUVQ420i45ee8=;
b=XeXhSwt9rfGSLXuO3HqkSbBDl7h1fp4Hstcxm9Dl0KjdRNKueUtMlk6YVhPa2ZwLee
ELmYgLAubjb5JO9Ad9ZuSgVhyJ3aHbT50G6Fl0JJNjN3wyN7Nc1/aypVJkfi6/3+vV9A
++CTb/32ff75sxPYsCfiexM5o0AEU7dLt0GOOsrckxEjPZJuK12jd/M/Xr2X4NGiQeWL
d2XHSRx3gYHFXHYsdfqpaHIqlbAQb/uhuc0vWzWsX4B/9BFeEVInlA4VhZbnCkQ/ZLMz
qB7mbkiX20os5gjM1MaG2UWEdBoBCBBKdJSAZORoUy44Q0Lla+8u+gw89OLukujZlh8m
VTsg==
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=cNrMOx4ncnG+zTrC8d3LitaPfyqZ8fKUVQ420i45ee8=;
b=gjAjVesuAERgaTiTSZex7b9gct9mtJhMRasS4D4by7oyOZ/i0eWHJb9wmUzE23m+XH
RfCvP0ti3cCpQZ1MzFlbYDGZM8Snosf81SflmfzwxRqKbVwsGYPZZjWxBlTVJn8N1WHd
ZlBwlhLZ3nZ0El7ETCBQ8N4qkBDDwMKvGuByyrj6rqlaPm/n5SGgpm2klwiDFPcV3pD4
6mFeDtd6wYmswuzzBHQi9LamIlQbFAWjd8uZFWCa1HbfJJZPIeJnOlR3RrLReU/SjIrm
86C1KQgZwblBMPED0bRY321Cm8lMuor/3YbtzPofGLO75h+E31NWUyo4LK8WtyFq5yK1
tZ9A==
X-Gm-Message-State: AOAM530UtEDl5oSjSvRk/rOgxA6fp+3V0IgqY37F2ACCas7GWVjLzg2W
ZJeCJEkznaY93hneAHU3cTA9C5STNpi+VP8PYtudXxe6
X-Google-Smtp-Source: ABdhPJzvpjFJIWtE98LhJ/keFZfA10Lmba5x2XCLzkF1/vSnO6jMXePEteQXF2b7BFDLCwk5mNSkSoUEAIWzR32vjHA=
X-Received: by 2002:ab0:384a:: with SMTP id h10mr2296829uaw.77.1601040441112;
Fri, 25 Sep 2020 06:27:21 -0700 (PDT)
MIME-Version: 1.0
References: <ad8a00e4-d929-5ce7-5f71-917f61765a0d AT neurotica DOT com>
<CAHUm0tMddGdAPWaB3SEgCnY1SZVYrQX9+Fbr8OnBBBS2nt7Xrw AT mail DOT gmail DOT com> <aa964644-b2b8-21c5-07ae-23d1c7ec012d AT gmail DOT com>
In-Reply-To: <aa964644-b2b8-21c5-07ae-23d1c7ec012d@gmail.com>
From: "Chad Parker (parker DOT charles AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Date: Fri, 25 Sep 2020 09:27:09 -0400
Message-ID: <CAJZxidAeg6AbWTZ-r-kGV4edGsT+0MjOQXo4ZLhfkftJ-1ifhA@mail.gmail.com>
Subject: Re: [geda-user] generate complex outline in pcb?
To: geda-user AT delorie DOT com
Reply-To: geda-user AT delorie DOT com

--000000000000c37d6d05b02346ee
Content-Type: text/plain; charset="UTF-8"

He also wants to scale it to be larger, if I read his message correctly.
Copying, sure, but not the scaling.

On Fri, Sep 25, 2020, 09:25 Dr M C Nelson (drmcnelson AT gmail DOT com) [via
geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:

>
> Why can't you simply select, copy and paste it from the silk layer to the
> outline layer?
>
>
>
> On 9/25/20 1:24 AM, Erich Heinzle (a1039181 AT gmail DOT com) [via
> geda-user AT delorie DOT com] wrote:
>
> 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
>>
>
>

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

<div dir=3D"auto">He also wants to scale it to be larger, if I read his mes=
sage correctly. Copying, sure, but not the scaling.</div><br><div class=3D"=
gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Sep 25, 2020, 09=
:25 Dr M C Nelson (<a href=3D"mailto:drmcnelson AT gmail DOT com">drmcnelson AT gmail=
.com</a>) [via <a href=3D"mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT c=
om</a>] &lt;<a href=3D"mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com<=
/a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div>
    <br>
    Why can&#39;t you simply select, copy and paste it from the silk layer
    to the outline layer?<br>
    <br>
    <br>
    <br>
    <div>On 9/25/20 1:24 AM, Erich Heinzle
      (<a href=3D"mailto:a1039181 AT gmail DOT com" target=3D"_blank" rel=3D"noref=
errer">a1039181 AT gmail DOT com</a>) [via <a href=3D"mailto:geda-user AT delorie DOT com=
" target=3D"_blank" rel=3D"noreferrer">geda-user AT delorie DOT com</a>] wrote:<br=
>
    </div>
    <blockquote type=3D"cite">
     =20
      <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 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</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 create 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"auto"><a href=3D"https://inkscape.org/~erichVK5/%E2%98%=
85inkscape2pcb" target=3D"_blank" rel=3D"noreferrer">https://inkscape.org/~=
erichVK5/%E2%98%85inkscape2pcb</a><br>
        </div>
        <div dir=3D"auto"><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 inkscape2pcb will also
          export polygons as well as lines degining it&#39;s border in 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" target=3D"_blan=
k" rel=3D"noreferrer">mcguire AT neurotica DOT com</a>) [via <a href=3D"mailto:ged=
a-user AT delorie DOT com" target=3D"_blank" rel=3D"noreferrer">geda-user AT delorie.=
com</a>],
          &lt;<a href=3D"mailto:geda-user AT delorie DOT com" target=3D"_blank" re=
l=3D"noreferrer">geda-user AT delorie DOT com</a>&gt; 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 need=
s to have a very
          complex <br>
          outline.=C2=A0 Starting from an image file, I&#39;ve gotten what =
I need
          into 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>
    </blockquote>
    <br>
  </div>

</blockquote></div>

--000000000000c37d6d05b02346ee--

- Raw text -


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