Mail Archives: geda-user/2015/05/10/19:22:08
--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'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"><<a href=3D"mai=
lto:geda-user AT delorie DOT com" target=3D"_blank">geda-user AT delorie DOT com</a>><=
/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 "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.<br><br>Best Regards,<br>Michael=
Widlok</blockquote></div><br></div>
--001a113d1ceca4890a0515c28698--
- Raw text -