kicad:good_pdf_output_from_kicad
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
kicad:good_pdf_output_from_kicad [2013/06/18 22:01] – mithat | kicad:good_pdf_output_from_kicad [2013/06/22 23:53] – mithat | ||
---|---|---|---|
Line 33: | Line 33: | ||
===== SVG version ===== | ===== SVG version ===== | ||
- | I am currently testing the following for working form SVG files rather than PS. It requires | + | I am currently testing the following for working form SVG files rather than PS. It also uses a GUI dialog based interface. It needs more testing before I'm comfortable " |
<file bash svg2pdf-d> | <file bash svg2pdf-d> | ||
#!/bin/bash | #!/bin/bash | ||
+ | |||
+ | ######################################################################## | ||
+ | # This program is free software: you can redistribute it and/or modify | ||
+ | # it under the terms of the GNU General Public License as published by | ||
+ | # the Free Software Foundation, either version 3 of the License, or | ||
+ | # (at your option) any later version. | ||
+ | # | ||
+ | # This program is distributed in the hope that it will be useful, | ||
+ | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
+ | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
+ | # GNU General Public License for more details. | ||
+ | # | ||
+ | # You should have received a copy of the GNU General Public License | ||
+ | # along with this program. | ||
+ | ######################################################################## | ||
+ | |||
+ | # Copyright (C) 2013 Mithat Konar < | ||
# DESTRUCTIVELY convert all svg files in working directory to pdf. | # DESTRUCTIVELY convert all svg files in working directory to pdf. | ||
Line 42: | Line 59: | ||
# Requires inkscape, gxmessage. | # Requires inkscape, gxmessage. | ||
- | # Mithat Konar 2013 < | ||
OPTIONS="" | OPTIONS="" | ||
Line 96: | Line 112: | ||
$not_deleted" | $not_deleted" | ||
fi | fi | ||
- | |||
exit $rv | exit $rv | ||
- | |||
- | # | ||
- | # Below is an alternative to the approach used above that does not use a | ||
- | # temp file. It isn't optimal because it restarts inkscape for each file. | ||
- | # However the simplicity lends itself to porting (e.g., to windows BAT.). | ||
- | |||
- | #~ for file in $FILES | ||
- | #~ do | ||
- | #~ base=$(basename $file ${EXT}) | ||
- | #~ inkscape --without-gui ${OPTIONS} ${file} --export-pdf=${base}.pdf | ||
- | #~ done | ||
- | #~ ## END ALT_1 | ||
</ | </ | ||
kicad/good_pdf_output_from_kicad.txt · Last modified: 2013/06/26 02:18 by mithat