Verified Commit 7d936a11 authored by Isabella Skořepová's avatar Isabella Skořepová
Browse files

PNG generator

parent 011da57c
#!/bin/bash
cd "$( dirname "${BASH_SOURCE[0]}" )"
pwd
GIT="git"
XVFB="xvfb-run -a "
function brd {
echo brd $1
$XVFB eagle -C "edit .brd;
set confirm yes;
display None;
display Top Bottom Pads Vias Unrouted Dimension tPlace bPlace tName bNames Measures Document tDocu bDocu;
ratsnest;
export image $1.png 600;
set confirm no;
quit;" $1
}
function sch {
echo sch $1
$XVFB eagle -C "edit .sch;
set confirm yes;
export image $1.png 600;
set confirm no;
quit;" $1
}
for F in *.brd
do brd $F
done
for F in *.sch
do sch $F
done
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment