Source

uniqxstuff / openscad / minkowski / svg2dxf.sh

Full commit
1
2
3
4
5
6
7
#! /bin/sh

for FILE in "$*"; do
  inkscape -E "$FILE.eps" "$FILE"
  pstoedit -dt -f dxf:-polyaslines "$FILE.eps" "$FILE.dxf"
  rm "$FILE.eps"
done