[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: How to photo-export from PCB
On Tue, Apr 21, 2009 at 4:02 AM,
<Marcel.Schmedes.EXTERN@xxxxxxxxxxxxxxxxxx> wrote:
> Hello again List,
>
> I want to export my PCB as an real Picture, like the one on luciani.org
> [1] but can't find it.
> I already asked google for a hint but maybe I don't figure out the correct
> Question...
Since I do those pics often I created a shell script called pcb-pic which
creates both the top and bottom pic (below).
(* jcl *)
--
You can't create open hardware with closed EDA tools.
http://www.luciani.org
#---------------------------- cut-here -------------------------------
#!/bin/bash
PCB=/local/pub/pcb-20081128/bin/pcb
for name in $@
do
base="${name%.*}"
if [ -e $base.pcb ]
then
$PCB -x png --only-visible --ben-mode --dpi 600 $base.pcb
pngtopnm $base.png | pamscale 0.333333 | cjpeg -q 90 > "$base"_top.jpg
rm $base.png
$PCB -x png --only-visible --ben-mode --ben-flip-x --dpi 600 $base.pcb
pngtopnm $base.png | pamscale 0.333333 | cjpeg -q 90 > "$base"_bot.jpg
rm $base.png
fi
done
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user