120
edits
(Added alternative method of creating DXF via EPS and pstoedit) |
(Updates to alternate method now I've tested it :-)) |
||
| Line 140: | Line 140: | ||
pstoedit -dt -f dxf:-polyaslines somefile.eps somefile.dxf | pstoedit -dt -f dxf:-polyaslines somefile.eps somefile.dxf | ||
Or in a single line: | |||
inkscape -E /dev/stdout somefile.svg | pstoedit -dt -f dxf:-polyaslines - somefile.dxf | |||
This is tested and working. Colours from the original SVG file persist through the conversion process, so this can be an easy way to set up layers for the laser cutter software. | |||
The imported DXF will end up being tiny (something like 1/10 of its Inkscape size), and will also be positioned a long way off the left and bottom of the on-screen laser bed. The size *might* be fixable by using the <code>-mm</code> argument: | |||
pstoedit -dt -f 'dxf:-polyaslines -mm' somefile.eps somefile.dxf | |||
but this is untested. There are also arguments for rotating, translating, and scaling the output of <code>pstoedit</code>, but those need further experimentation. | |||
[[Category:Guides]] | [[Category:Guides]] | ||