User Tools

Site Tools


kicad:pdf_output_from_kicad_in_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kicad:pdf_output_from_kicad_in_linux [2013/06/29 03:50] – [Using SVG] mithatkicad:pdf_output_from_kicad_in_linux [2016/02/06 18:21] (current) – [Using SVG] mithat
Line 3: Line 3:
 ===== Using SVG ===== ===== Using SVG =====
  
-The most reliable way I've found to get good PDFs from KiCad under Linux is to first plot to SVG and then use an external tool to convert the SVGs to PDF. Plotting to SVG isn't difficult:+The most reliable way I've found to get good PDFs from KiCad under Linux is to first plot to SVG and then use an external tool to convert the SVGs to PDF. Plotting to SVG in KiCad isn't difficult:
  
   * In Eeschema: //File > Plot > Plot SVG//   * In Eeschema: //File > Plot > Plot SVG//
   * In Pcbnew: //File > Print SVG//   * In Pcbnew: //File > Print SVG//
  
-However, converting these files to PDF isn'nearly as straight-forward. I wrote **[[svg2pdf-d|this script]]** to automate the conversion process. Just drop a copy of the script into the project directory and run it whenever you want to convert files.+However, converting these files to PDF isn'quite as straight-forward. I wrote the script **[[svg2pdf-d]]** to automate the conversion process. Just drop a copy of the script into a KiCad project directory and then run it whenever you want to convert files.
  
-There are a few things you should note: +<WRAP center round important 90%> 
-  //Running this script will destroy any ''*.svg'' files in the working directory.// This is by design. I want to minimize the number of files that might be out of sync with the source, and keeping both SVGs and PDFs is just asking for trouble! +**Running this script will delete all *.svg files in the working directory!** 
-  * The script relies on [[http://inkscape.org/|Inkscape]]---which it runs in batch/shell mode. Inkscape isn't really that light, but it’s arguably something that should be in your FOSS toolkit anyway.+ 
 +This is by design. I want to minimize the number of files that might be out of sync with the source, and keeping both SVGs and PDFs is just asking for trouble! 
 + 
 +Put any SVG artwork you need to keep in a subdirectory or edit the script so it doesn't delete *.svg files. 
 +</WRAP> 
 +  
 + 
 +There are a few things more you should note: 
 +  * The script relies on [[http://inkscape.org/|Inkscape]]which it runs in batch/shell mode. Inkscape isn't really that light, but it’s arguably something that should be in your FOSS toolkit anyway.
   * The script relies on [[https://help.gnome.org/users/zenity/stable/|Zentiy]]. If this offends your KDE or other sensibilities, I have a [[svg2pdf-dgxmessage|version]] that uses [[http://homepages.ihug.co.nz/~trmusson/programs.html#gxmessage|gxmessage]] or [[http://linux.die.net/man/1/xmessage|xmessage]] as well as a pure [[svg2pdf-dbash|command-line version]]. I won't promise to keep these updated though.   * The script relies on [[https://help.gnome.org/users/zenity/stable/|Zentiy]]. If this offends your KDE or other sensibilities, I have a [[svg2pdf-dgxmessage|version]] that uses [[http://homepages.ihug.co.nz/~trmusson/programs.html#gxmessage|gxmessage]] or [[http://linux.die.net/man/1/xmessage|xmessage]] as well as a pure [[svg2pdf-dbash|command-line version]]. I won't promise to keep these updated though.
  
kicad/pdf_output_from_kicad_in_linux.1372477843.txt.gz · Last modified: 2013/06/29 03:50 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki