120
edits
(Added alternative method of creating DXF via EPS and pstoedit) |
|||
| Line 3: | Line 3: | ||
How to deal with problem inkscape files | How to deal with problem inkscape files | ||
Per layer | Per layer: | ||
* Select all | |||
* Path-> objects to paths | |||
* Object -> Fill and Stroke -> Set fill to None | |||
* Path -> Combine | |||
See also the [[#Alternative_method|alternative method]]. | |||
==Some laser cutter basics== | ==Some laser cutter basics== | ||
| Line 134: | Line 132: | ||
This is useful as it can fix problems exporting rotated or translated objects (as dxfs don't store transformations). Combining all the pieces into one object solves this problem because it transforms the points of the object and no transformation is stored for the whole object ( as there were two initial objects it would be hard to know how they were transformed). If you want to have multiple layers, combining them all removes all that information. So create dummy objects on each layer and combine them with you desired layer and then remove the points. If you are having problems with combining objects set all their fills to 0. | This is useful as it can fix problems exporting rotated or translated objects (as dxfs don't store transformations). Combining all the pieces into one object solves this problem because it transforms the points of the object and no transformation is stored for the whole object ( as there were two initial objects it would be hard to know how they were transformed). If you want to have multiple layers, combining them all removes all that information. So create dummy objects on each layer and combine them with you desired layer and then remove the points. If you are having problems with combining objects set all their fills to 0. | ||
== Alternative method == | |||
According to [http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Other_2D_formats the OpenSCAD manual], you can get sensible DXFs from SVGs by doing this on the command line: | |||
inkscape -E somefile.eps somefile.svg | |||
pstoedit -dt -f dxf:-polyaslines somefile.eps somefile.dxf | |||
Note: untested. Also, the '''polyaslines''' option may not be required for the laser cutter; I haven't yet tested this either. | |||
[[Category:Guides]] | [[Category:Guides]] | ||