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: From: "Dr M C Nelson (drmcnelson AT gmail DOT com) [via geda-user AT delorie DOT com]" Message-ID: 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: Content-Type: multipart/alternative; boundary="------------8D14110D7A2985C6A1CF2567" Content-Language: en-US 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 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 > ) [via 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
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


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

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