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=oIOQTIqITcZf02srghB1zGXZbGUy3xnae/FoFKsmMGI=; b=qF33nxmYd7ajU1WDzD+k59zCEZuBGe2uQ4J4orlPqS8bRM0zPJbz3gu++59DQw4Y4g BrVxoibcvLafcUthhXsqEDxv0s00A2qjTJk2gzPiXwO7pQPumTcz42MrAVdxeRTSUSnV kzfrDCDisyagO+zQfuxi4chH+KCctY0EqkUqJjg51eO/cD2oAZIynArjXxbd6XM38oTs TaTrTVFjeMD5lIkyiV0FxSXWq0VC7IeCrArVY9e0H6cezv7fYlWFyPrEoJKyc7R/0O1j jFIjFesbptuafZ4xocMc3qQR8EYikpGy3oCcqkfLB6pu2T6ZuOCIiwWM5Xb78NA2/PlY n6KQ== MIME-Version: 1.0 X-Received: by 10.60.101.195 with SMTP id fi3mr217604oeb.65.1431298619433; Sun, 10 May 2015 15:56:59 -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:26:59 +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=089e0111ba0ec769e90515c22d0b 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 --089e0111ba0ec769e90515c22d0b Content-Type: text/plain; charset=UTF-8 I have scaling, translation and duplication for silkscreen layers working in my kicad to geda footprint work in progress utility, and used them to do a family of 16 segment LED display footprints. I plan to implement gEDA footprint importing next, and kicad s-file importing, at which point tasks such as yours becomes trivially dealt with. When the code is a bit more polished, I will put it on github. I am still ironing out quirks and adding features. 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 --089e0111ba0ec769e90515c22d0b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have scaling, translation and duplication for silks= creen layers=C2=A0 working in my kicad to geda footprint work in progress u= tility, and used them to do a family of 16 segment LED display footprints.<= br>
I plan to implement gEDA footprint importing next, and kicad s= -file importing, at which point tasks such as yours=C2=A0 becomes trivially= dealt with.

When the code is a bit more polished, I= will put it on github. I am still ironing out quirks and adding features.<= br>
Cheers,

Erich.

On Sat, May 9, 2015 at 10:= 37 PM, michalwd1979 (michalwd1979 AT o2.= 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

<= /div> --089e0111ba0ec769e90515c22d0b--