delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2020/09/25/14:34:39

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: <ad8a00e4-d929-5ce7-5f71-917f61765a0d AT neurotica DOT com>
<1d59efe9-8101-6352-1046-212bdec41824 AT gmail DOT com> <CAJZxidDw_D69M9ZzerM=PCdog+r+i88Ct51wK_N_VUxwuj3ZGg AT mail DOT gmail DOT com>
<9a50f043-5254-9ae6-b2af-87ac6195eb53 AT gmail DOT com> <09db772d-360c-4990-19dc-4786396cb17a AT gmail DOT com>
<CAJMxkkW_Vc8OH7bXug67QjFmQXT8q080H4j5O-67HxYSrXvVuA AT mail DOT gmail DOT com> <ab6b2736-52d9-430b-44ad-b023378cf6ac AT neurotica DOT com>
In-Reply-To: <ab6b2736-52d9-430b-44ad-b023378cf6ac@neurotica.com>
From: "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Date: Sat, 26 Sep 2020 03:45:10 +0930
Message-ID: <CAHUm0tPCwLsbSFbG5pf0s0YJXjwKmWEOCTP7Fw7MJEGA9y+20w@mail.gmail.com>
Subject: Re: [geda-user] generate complex outline in pcb?
To: geda-user <geda-user AT delorie DOT com>
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], <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

<div dir=3D"auto"><div>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.<br><br>Regards,</div><d=
iv dir=3D"auto"><br></div><div dir=3D"auto">Erich<br><br><div class=3D"gmai=
l_quote" dir=3D"auto"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, 26 Sep =
2020 03:28 Dave McGuire (<a href=3D"mailto:mcguire AT neurotica DOT com">mcguire AT n=
eurotica.com</a>) [via <a href=3D"mailto:geda-user AT delorie DOT com">geda-user AT d=
elorie.com</a>], &lt;<a href=3D"mailto:geda-user AT delorie DOT com">geda-user AT del=
orie.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 9/25/20 =
9:45 AM, John Peck wrote:<br>
&gt; I use pstoedit a lot:<br>
&gt; <br>
&gt; pstoedit -xscale 0.5 -yscale 0.5 -ssp -flat .01 -f pcb $(whatever).pdf=
 <br>
&gt; $(whatever).pcb<br>
&gt; <br>
&gt; Can you get your silkscreen outline into pdf (or ps)?=C2=A0 Maybe you =
could <br>
&gt; then just play with the scaling in pstoedit to make a bigger version o=
f <br>
&gt; the outline.=C2=A0 You&#39;ll then have to bring the output into PCB a=
nd &quot;move <br>
&gt; selected to current layer&quot; after making the outline layer current=
.<br>
<br>
=C2=A0 =C2=A0I think I&#39;ve gotten it.=C2=A0 In Inkscape:<br>
<br>
=C2=A0 =C2=A0(bring object in)<br>
=C2=A0 =C2=A0path-&gt;break apart<br>
=C2=A0 =C2=A0path-&gt;union<br>
=C2=A0 =C2=A0path-&gt;outset (then ^) to expand the blob)<br>
=C2=A0 =C2=A0path-&gt;stroke to path<br>
<br>
=C2=A0 =C2=A0The result is a perfect outline of the object.<br>
<br>
=C2=A0 =C2=A0Then export to eps, then use pstoedit.<br>
<br>
=C2=A0 =C2=A0This seems to work rather well.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-Dave<br>
<br>
-- <br>
Dave McGuire, AK4HZ<br>
New Kensington, PA<br>
<br>
</blockquote></div></div></div>

--000000000000d520ad05b0274c09--

- Raw text -


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