

The conversion can be automated using the make system put the following lines in your Makefile: Pstoedit -dt -f dxf:-polyaslines\ -mm intermediate.eps outfile.dxf Then pstoedit can convert the EPS to DXF. Pstoedit -dt -f "dxf: -polyaslines -mm" infile.eps outfile.dxf

(If the rendered text's resolution in terms of polygon count is too low, the easiest solution is to scale up the eps before converting if you know a more elegant solution, please add it to the example.) The -dt options instructs pstoedit to render texts, which is usually what you want if you include text. The -mm option sets one mm to be one unit in the dxf include this if you use one unit in OpenSCAD as equal to one millimeter. OpenSCAD needs the -polyaslines option passed to the dxf output plugin to understand the file. The pstoedit program can convert between various vector graphics formats. Other common formats are PS/ EPS, SVG and AI. Currently, OpenSCAD supports DXF only as a graphics format for 2D graphics.
