
Bob Jamison wrote:
John Taber wrote:
Are there any plans for a DXF import ? Right now I have to open a DXF in Open Office Draw, save as SVG, then import into Inkscape. Too bad OO is not GPL otherwise could just take that code module and stick into Inkscape, but maybe there are others.
Well, if we had more autocad guys here, we could just do it ourselves. ;-) I know that .dxf is a very simple format. But if you could write up a few paragraphs how to map DXF entries to SVG elements, we could just do it in-house.
I'm not an autocad guy, and I can't afford to be ($), but I do have a very small bit of experience with both SVG to DXF. I wrote a simple script to convert path segments (MLCZz) into DXF SPLINEs and LINEs. http://www.ekips.org/comp/prog/paths/patheditor.php My application was simply to convert guitar bodies and other shapes drawn in SVG into an outline and in DXF format. This was pretty easy because cubic beziers can be represented by NURB curves. (I would expect going the other way to be slightly more challenging mathematically.)
I don't know what all of the full capabilities of DXF are or how well they map to SVG, but I would be happy to help look.
What do people expect to do with SVG to DXF conversion? What would a converter need to support and how would it fit into a persons workflow?
Aaron Spike