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: In-Reply-To: From: "Chad Parker (parker DOT charles AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Fri, 25 Sep 2020 09:27:09 -0400 Message-ID: Subject: Re: [geda-user] generate complex outline in pcb? To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary="000000000000c37d6d05b02346ee" 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] 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], 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
He also wants to scale it to be larger, if I read his mes= sage correctly. Copying, sure, but not the scaling.

=20 =20 =20

Why can't you simply select, copy and paste it from the silk layer to the outline layer?



=20
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 Dav= e McGuire (mcguire AT neurotica DOT com) [via geda-user AT delorie.= com], <geda-user AT delorie DOT com> wrote:

=C2=A0 =C2=A0Hey folks.=C2=A0 I'm designing a board that need= s to have a very complex
outline.=C2=A0 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.

=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

--000000000000c37d6d05b02346ee--