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=wWiNLErDQv36CGyjcG3OeTjoQgLkk7NZyGLB7y6blkY=; b=WooWxM/yP6ey245GUwVqhFppRVQrMSlYSosGd/etjxuH3U63Ba56XdvycQapQw0o6A k8Ez7VpxOmsCPB2XQLyyv51D6I/0GCL620/7ROrbluDkKq2P4feUAF8ZHnc+6iMOuogk JaymvWjKMUnnDhaLjub3CLRzHQlTJrPtfUP5YQaFAm5btPk/8t0W/bCq8G8LtWOyNfUa iXFy3LJS8e/A3WG5qyvpxxUy5z0mcfPJZs8lvB/aSHtLBN1VMoL2WEJdTAcEZYz46/zd pvWwcosUw75PT4zbrQ3ebgJ1UN2WxT0pcgEZ/18hQMsJ9+PuA955O97Sb4Rw2y4yDkOL JA7w== 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=wWiNLErDQv36CGyjcG3OeTjoQgLkk7NZyGLB7y6blkY=; b=oRSLyG2JQxcnB1VQmfh2PIKnkK1mNgwC8bw+vmiJ4awaQ5qMl3+GRddWwI8P5fIQtZ 4P4afrce3679pBl9cHfbze/pFJJK87t8AoPw/Uq3U5tYMDvmpdD59rmSM++YWgHEiI6v 71E8sKHqkWFd1FJ8+B4zBEdHqFwQoUrJMpNJljxTgnwWllv+VlCrhyuP07Vh8LCsQEe0 Yt72mnx9yPcyP6H2Y8/BxCn5kyHrUMtW5UV7g/NKWZhREVAfxO9pqwPH6cnrltr4vTCp qPAXkDislprCiv82uz8O8YekvBwrzWRHlIwESiJYLM42XCeChvAtxm71a97T6rYhTuxO k8SA== X-Gm-Message-State: AOAM531XFzabtm4Lt6Rg9D+HwcD5DWZEEdoIPh9//1rRJNj0XmXv6nHi fspUtxireP8ZdqZ4vd9sD6+RyKMCnq+sl4ODT3uih/NZ X-Google-Smtp-Source: ABdhPJz5yO3pduMPJB8Aytz7aXPpJKW52d4iF62V92bwq788xFTag7m8PN9a14oGTrO+t0tcMbWw5aLVETJfnr35G+k= X-Received: by 2002:a17:906:49cd:: with SMTP id w13mr3876479ejv.151.1601057722800; Fri, 25 Sep 2020 11:15:22 -0700 (PDT) MIME-Version: 1.0 References: <1d59efe9-8101-6352-1046-212bdec41824 AT gmail DOT com> <9a50f043-5254-9ae6-b2af-87ac6195eb53 AT gmail DOT com> <09db772d-360c-4990-19dc-4786396cb17a AT gmail DOT com> In-Reply-To: From: "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Sat, 26 Sep 2020 03:45:10 +0930 Message-ID: Subject: Re: [geda-user] generate complex outline in pcb? To: geda-user Content-Type: multipart/alternative; boundary="000000000000d520ad05b0274c09" Reply-To: geda-user AT delorie DOT com --000000000000d520ad05b0274c09 Content-Type: text/plain; charset="UTF-8" If you find the bezier approximation in pstoedit to be a bit lumpy, it is worth trying conversion using inkscape extensions direct to pcb format, as it is usually smoother. Regards, Erich On Sat, 26 Sep 2020 03:28 Dave McGuire (mcguire AT neurotica DOT com) [via geda-user AT delorie DOT com], wrote: > On 9/25/20 9:45 AM, John Peck wrote: > > I use pstoedit a lot: > > > > pstoedit -xscale 0.5 -yscale 0.5 -ssp -flat .01 -f pcb $(whatever).pdf > > $(whatever).pcb > > > > Can you get your silkscreen outline into pdf (or ps)? Maybe you could > > then just play with the scaling in pstoedit to make a bigger version of > > the outline. You'll then have to bring the output into PCB and "move > > selected to current layer" after making the outline layer current. > > I think I've gotten it. In Inkscape: > > (bring object in) > path->break apart > path->union > path->outset (then ^) to expand the blob) > path->stroke to path > > The result is a perfect outline of the object. > > Then export to eps, then use pstoedit. > > This seems to work rather well. > > -Dave > > -- > Dave McGuire, AK4HZ > New Kensington, PA > > --000000000000d520ad05b0274c09 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If you find the bezier approximation in pstoedit to = be a bit lumpy,=C2=A0 it is worth trying conversion using inkscape extensio= ns direct to pcb format, as it is usually smoother.

Regards,

Erich

On Sat, 26 Sep = 2020 03:28 Dave McGuire (mcguire AT n= eurotica.com) [via geda-user AT d= elorie.com], <geda-user AT del= orie.com> wrote:
On 9/25/20 = 9:45 AM, John Peck wrote:
> I use pstoedit a lot:
>
> pstoedit -xscale 0.5 -yscale 0.5 -ssp -flat .01 -f pcb $(whatever).pdf=
> $(whatever).pcb
>
> Can you get your silkscreen outline into pdf (or ps)?=C2=A0 Maybe you = could
> then just play with the scaling in pstoedit to make a bigger version o= f
> the outline.=C2=A0 You'll then have to bring the output into PCB a= nd "move
> selected to current layer" after making the outline layer current= .

=C2=A0 =C2=A0I think I've gotten it.=C2=A0 In Inkscape:

=C2=A0 =C2=A0(bring object in)
=C2=A0 =C2=A0path->break apart
=C2=A0 =C2=A0path->union
=C2=A0 =C2=A0path->outset (then ^) to expand the blob)
=C2=A0 =C2=A0path->stroke to path

=C2=A0 =C2=A0The result is a perfect outline of the object.

=C2=A0 =C2=A0Then export to eps, then use pstoedit.

=C2=A0 =C2=A0This seems to work rather well.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-Dave

--
Dave McGuire, AK4HZ
New Kensington, PA

--000000000000d520ad05b0274c09--