| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
| X-Recipient: | geda-user AT delorie DOT com |
| X-Virus-Scanned: | amavisd-new at neurotica.com |
| Subject: | Re: [geda-user] generate complex outline in pcb? |
| To: | geda-user AT delorie DOT com |
| 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> | |
| From: | "Dave McGuire (mcguire AT neurotica DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
| Message-ID: | <ab6b2736-52d9-430b-44ad-b023378cf6ac@neurotica.com> |
| Date: | Fri, 25 Sep 2020 13:19:40 -0400 |
| User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 |
| Thunderbird/60.6.1 | |
| MIME-Version: | 1.0 |
| In-Reply-To: | <CAJMxkkW_Vc8OH7bXug67QjFmQXT8q080H4j5O-67HxYSrXvVuA@mail.gmail.com> |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id 08PHKSvX011395 |
| 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 |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |