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: In-Reply-To: From: "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Fri, 25 Sep 2020 14:54:10 +0930 Message-ID: Subject: Re: [geda-user] generate complex outline in pcb? To: geda-user Content-Type: multipart/alternative; boundary="0000000000009086d405b01c87aa" 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], 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
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 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
<= br>
inkscape2pcb

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

inkscape2pcb

=
See


Inkscape2pcb allows some scaling too.
<= div dir=3D"auto">
The pcb-rnd version of inkscap= e2pcb will also export polygons as well as lines degining it's border i= n the footprint, after confirming that the path defines a simply polygon.

Regards,

Erich

On Fri, 25 Sep 2020 13:34 Dav= e McGuire (mcguire AT neurotica DOT com) [via geda-user AT delorie DOT com= ], <geda-user AT delorie DOT com&g= t; wrote:

=C2=A0 =C2=A0Hey folks.=C2=A0 I'm designing a board that needs to have = a very complex
outline.=C2=A0 Starting from an image file, I've gotten what I need int= o the
silkscreen layer, but now I'd like to essentially take the shape that&#= 39;s
there and draw a line 1mm or so around the outside of the entire shape, for the outline.

=C2=A0 =C2=A0Can anyone suggest an automated way to do this?=C2=A0 I'd = just trace it,
but the outline is, as I said, very complex.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Thanks,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-Dave

--
Dave McGuire, AK4HZ
New Kensington, PA
--0000000000009086d405b01c87aa--