
On Fri, Apr 08, 2005 at 05:32:57PM -0500, aaron@...749... wrote:
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.
From what I know of DXF, it's not a totally one-to-one mapping. I.e., a
documented converted from DXF to SVG and back to DXF would probably end up a LOT different. However, they're both vector formats so in principle at least the basics (lines, shapes, etc.) should be convertable.
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?
Maybe a good starting point could be to take an example file from QCAD and write a script that creates a "visually identical" SVG from it. Or else pick your top ten list of object types from QCAD and write a script that converts those to the corresponding SVG entities. In either case, that'd move the ball forward nicely. :-)
Of course, the trick will be sticking with it and pushing the dxf2svg tool to be as feature-complete as possible. With CAD tools, nothing is more frustrating than running a conversion tool and ending up with a result that takes as much work to clean up as it'd have taken to redraw the drawing from scratch. (Well, being forbidden from fixing the conversion tool in question due to internal corporate politics is more frustrating, but I've excised that from my memory... la la la).
Bryce