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

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=subject:to:references:from:message-id:date:user-agent:mime-version
:in-reply-to:content-language;
bh=s3q+HX0l/wZ3A775efBmdeKhORIY7xaU8+EuWDSicIs=;
b=oUr9n8uzCQ8Ob8jzxYj3U4Cmhm/ojNB16E1ldSl5MO6XobcobGd0PwB4wk+wv6+xfx
Rv4gwHzv/TW/E5iPwtje8YHdgzm18OV1NhUAVrHek2tsTAXfIgIWh7QTrl8vfanchhE0
QrmvprabH6vGBb+LS9IEaLDBLNgRl1hOA88iGl+dE540vMl2sXZcudL5L3Hs1KrOR/OO
FGAjzdtFIGqGUndCPGpYBy4bBk/j31qSh8UVvrOV3dkUPYfOTQklA7drEyirRd44txuf
hSady5c63oALs8ncxTika154On1LmxnEjWxLe0fnDnkTwsoMqvBikt8jkRQB/vtPnZPJ
j0tg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language;
bh=s3q+HX0l/wZ3A775efBmdeKhORIY7xaU8+EuWDSicIs=;
b=al2cUGy7XmsJKjPkCr88mEHvvnfgi9Q0rFI22MLHuQr/LQTxUE0rY9/7eDSdSqX8Gv
35ok87F3aUI3EsGV5sVgYveFh6b1oe0au5G8D/TaoPdMrJzWmXz/2/vuGK6Q6oXYutJd
Ouxp8VqmIpiGLQl5gxJMvjRACckuARM+r1v13sfQm40C0QJqsIQsJYvP0XWQPAJN85pI
I4wO6rWuHUDymc3EC2k8K99JdwG9Fgdt/5grj27oxRrfpE7VUPUhXX5Rb+Z7Vmy+wrq3
yjhbI8RzfjbxQUmeMIm2IJQHz+Zv/wioNpS/CXFSZGe9SRac35cyx6bZq6IlwSirOVRh
+JVg==
X-Gm-Message-State: AOAM530stXp46LqiS46uf7hkXIcOSjblsL+EKMtZD8cY6Ag21k9WJw5M
HgMzDGxQG8WJK4Uqit4MOgVbvPDQ7Po=
X-Google-Smtp-Source: ABdhPJzX4H1YLNRE5dTnfBmPtidmtfS6kHgD8KfDyT/2+h0v7ohA+0Hz00kvucop1o3P6hR1FpBPxg==
X-Received: by 2002:a37:44e:: with SMTP id 75mr3805365qke.236.1601038013238;
Fri, 25 Sep 2020 05:46:53 -0700 (PDT)
Subject: Re: [geda-user] generate complex outline in pcb?
To: geda-user AT delorie DOT com
References: <ad8a00e4-d929-5ce7-5f71-917f61765a0d AT neurotica DOT com>
<CAHUm0tMddGdAPWaB3SEgCnY1SZVYrQX9+Fbr8OnBBBS2nt7Xrw AT mail DOT gmail DOT com>
From: "Dr M C Nelson (drmcnelson AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Message-ID: <aa964644-b2b8-21c5-07ae-23d1c7ec012d@gmail.com>
Date: Fri, 25 Sep 2020 08:46:52 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.11.0
MIME-Version: 1.0
In-Reply-To: <CAHUm0tMddGdAPWaB3SEgCnY1SZVYrQX9+Fbr8OnBBBS2nt7Xrw@mail.gmail.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

This is a multi-part message in MIME format.
--------------8D14110D7A2985C6A1CF2567
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit


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 
> <mailto:mcguire AT neurotica DOT com>) [via geda-user AT delorie DOT com 
> <mailto:geda-user AT delorie DOT com>], <geda-user AT delorie DOT com 
> <mailto: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
>


--------------8D14110D7A2985C6A1CF2567
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <br>
    Why can't you simply select, copy and paste it from the silk layer
    to the outline layer?<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 9/25/20 1:24 AM, Erich Heinzle
      (<a class="moz-txt-link-abbreviated" href="mailto:a1039181 AT gmail DOT com">a1039181 AT gmail DOT com</a>) [via <a class="moz-txt-link-abbreviated" href="mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>] wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHUm0tMddGdAPWaB3SEgCnY1SZVYrQX9+Fbr8OnBBBS2nt7Xrw AT mail DOT gmail DOT com">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <div dir="auto">
        <div dir="auto">I would get the image into inkscape, at which
          point you could either</div>
        <div dir="auto"><br>
        </div>
        <div dir="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="auto"><br>
        </div>
        inkscape2pcb
        <div dir="auto"><br>
        </div>
        <div dir="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="auto"><br>
        </div>
        <div dir="auto">inkscape2pcb</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">See</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><a
            href="https://inkscape.org/~erichVK5/%E2%98%85inkscape2pcb"
            moz-do-not-send="true">https://inkscape.org/~erichVK5/%E2%98%85inkscape2pcb</a><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Inkscape2pcb allows some scaling too.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">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.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Regards,</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Erich</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Fri, 25 Sep 2020 13:34 Dave
          McGuire (<a href="mailto:mcguire AT neurotica DOT com"
            moz-do-not-send="true">mcguire AT neurotica DOT com</a>) [via <a
            href="mailto:geda-user AT delorie DOT com" moz-do-not-send="true">geda-user AT delorie DOT com</a>],
          &lt;<a href="mailto:geda-user AT delorie DOT com"
            moz-do-not-send="true">geda-user AT delorie DOT com</a>&gt; wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
             Hey folks.  I'm designing a board that needs to have a very
          complex <br>
          outline.  Starting from an image file, I've gotten what I need
          into the <br>
          silkscreen layer, but now I'd like to essentially take the
          shape that's <br>
          there and draw a line 1mm or so around the outside of the
          entire shape, <br>
          for the outline.<br>
          <br>
             Can anyone suggest an automated way to do this?  I'd just
          trace it, <br>
          but the outline is, as I said, very complex.<br>
          <br>
                         Thanks,<br>
                         -Dave<br>
          <br>
          -- <br>
          Dave McGuire, AK4HZ<br>
          New Kensington, PA<br>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------8D14110D7A2985C6A1CF2567--

- Raw text -


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