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: <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: Subject: Re: [geda-user] Scale component in PCB From: "Erich Heinzle (a1039181 AT gmail DOT com)" To: geda-user Content-Type: multipart/alternative; boundary=001a113d1ceca4890a0515c28698 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 Precedence: bulk --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
with minimal modification, my existing pcbF= ontTool 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><= /span> wrote:
Thank You All for suggestio= ns!

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.
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--