delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/05/10/19:22:08

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=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=PJlFrDZK9iuPrkfExwG+udVmG4FuYXi3mSVtq0XdPtI=;
b=wmxrbENVrhtAptavwtGw+oVxdmj3cjHfmFtlsyqUDgpC89w4AHU0ro4AwsrquzW9d1
a47wnqRsfAOGh2idePp6XT8unnc4uQBDNDjPKPh7ttJ/FZ4PxyfYJmDkstR5qSGe4fEl
ASBfPyEmkYdFolGzQatGsp8KUBRb7P5z5gmFpUdBqOcmRsTW/h5RW2f62qJJxXkWV3F4
ltBXsMufjtCbv+AKIWT6hIZhru166ux2z0JbbQNaerP8uzR9dTAE0s1WREoSTVDziBzn
0bBKvIzeWCEPIcUAb4NAdKzSp8OhV93Ab2Zpl0h90OYy9P4/WBdy4W/kkgzW8EBDGDCZ
JFqA==
MIME-Version: 1.0
X-Received: by 10.202.12.142 with SMTP id 136mr5729625oim.30.1431300110320;
Sun, 10 May 2015 16:21:50 -0700 (PDT)
In-Reply-To: <214e167.7cae5d7f.554e067b.224bd@o2.pl>
References: <d7qbea1l55ahy6ngqm2i29p5 DOT 1424084381747 AT email DOT android DOT com>
<34830742 DOT 772461a9 DOT 554d11a4 DOT c7e59 AT o2 DOT pl>
<214e167 DOT 7cae5d7f DOT 554e067b DOT 224bd AT o2 DOT pl>
Date: Mon, 11 May 2015 08:51:50 +0930
Message-ID: <CAHUm0tOjZQ6Chgni0kyJLkbHauNoHhC+um80=6TL0fKuRKo86A@mail.gmail.com>
Subject: Re: [geda-user] Scale component in PCB
From: "Erich Heinzle (a1039181 AT gmail DOT com)" <geda-user AT delorie DOT com>
To: geda-user <geda-user AT delorie DOT com>
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

--001a113d1ceca4890a0515c28698
Content-Type: text/plain; charset=UTF-8

with minimal modification, my existing pcbFontTool utility would also do
what you require.

http://users.on.net/~esh/geda/pcb/src/fonts/pcbFontTool.c

The program simply expects raw pstoedit stroke data, i.e. SymbolLine[]
definitions, via stdin.

Support for arcs or circles wouldn't be hard to add.

You can also specify x, y offsets

Cheers,

Erich.

On Sat, May 9, 2015 at 10:37 PM, michalwd1979 (michalwd1979 AT o2 DOT pl) <
geda-user AT delorie DOT com> wrote:

> Thank You All for suggestions!
>
> I know that scale a regular footprint is rather poor ideal, and I already
> used pstoedit to get pcb files from drawings/graphic. My logo was drawn in
> pcb directly (to save space), so pstoedit is not an good option now.
> Anyway I wrote a super-simple python script that lets You scale an element
> for pcb. Now only "ElementLine" and "ElementArc" are supported - enough for
> me. Usage is: pcb_scale 1.0 infile.fp outfile.fp, where 1.0 is a scale like
> 2.0, 0.5 etc.
>
> Best Regards,
> Michael Widlok

--001a113d1ceca4890a0515c28698
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>with minimal modification, my existing pcbF=
ontTool utility would also do what you require.<br><br><a href=3D"http://us=
ers.on.net/~esh/geda/pcb/src/fonts/pcbFontTool.c">http://users.on.net/~esh/=
geda/pcb/src/fonts/pcbFontTool.c</a><br><br>The program simply expects raw =
pstoedit stroke data, i.e. SymbolLine[] definitions, via stdin.<br><br></di=
v><div>Support for arcs or circles wouldn&#39;t be hard to add.<br></div><d=
iv><br></div>You can also specify x, y offsets<br><br></div>Cheers,<br><br>=
</div>Erich.<br></div><div class=3D"gmail_extra"><br><div class=3D"gmail_qu=
ote">On Sat, May 9, 2015 at 10:37 PM, michalwd1979 (<a href=3D"mailto:micha=
lwd1979 AT o2 DOT pl">michalwd1979 AT o2 DOT pl</a>) <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:geda-user AT delorie DOT com" target=3D"_blank">geda-user AT delorie DOT com</a>&gt;<=
/span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">Thank You All for suggestio=
ns!<br><br>I know that scale a regular footprint is rather poor ideal, and =
I already used pstoedit to get pcb files from drawings/graphic. My logo was=
 drawn in pcb directly (to save space), so pstoedit is not an good option n=
ow.<br> Anyway I wrote a super-simple python script that lets You scale an =
element for pcb. Now only &quot;ElementLine&quot; and &quot;ElementArc&quot=
; are supported - enough for me. Usage is: pcb_scale 1.0 infile.fp outfile.=
fp, where 1.0 is a scale like 2.0, 0.5 etc.<br><br>Best Regards,<br>Michael=
 Widlok</blockquote></div><br></div>

--001a113d1ceca4890a0515c28698--

- Raw text -


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