Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Purpose: This script simply runs a command with Inkscape to convert a file from svg to eps, and then runs another command with pstoedit to convert it from eps to dxf. Requirements: * Inkscape * pstoedit You will need to make sure both of these programs are accessible from the command line, meaning you can run "inkscape --usage" or "pstoedit -help" and get a list of command options. On most linux distributions you should be able to use apt or similar to install the packages, on MacOSX you may need to use something like ports to install pstoedit then manually add the PATH options in your startup script (.bashrc or similar). Also included is a gmake makefile that you can throw into a directory full of svgs and just type "make" to convert all of the changed ones to DXF. The makefile has the same requirements as the script.