Alvin Penner schrieb:
Hello Simon, Just tried out the kabeja dxf2svg extension, and it looks very interesting, I hope it can be incorporated into Inkscape. Currently, I am running it offline in Windows XP, from a DOS prompt, because of various Inkscape problems. However, apart from that, I have a question concerning format of the output. http://www.nabble.com/file/p16227108/testin.svg testin.svg I begin with a file testin.svg, which contains an svg path element called "curveto". Then I convert this to a dxf file http://www.nabble.com/file/p16227108/testin.dxf testin.dxf using the Inkscape export routine "Desktop Cutting Plotter" output, which contains a dxf entity called SPLINE, then I convert this back to the svg file http://www.nabble.com/file/p16227108/testout.svg testout.svg using the kabeja program. I anticipate getting back the original path element called "curveto", but instead I get back a multi-segmented line which uses many instances of the svg path element "lineto", not "curveto". Is it possible to modify the usage of kabeja so that the original "curveto" usage will be retained?
Hi Alvin,
thanks for trying kabeja. For your testcase a converting back to curveto should be possible and will come with a later release. At the moment all spline and nurbs are converted to polylines. DXF supports 3D splines and NURBS for curves, where SVG supports 2D Bezier curves. So it is not the same and Bezier curves can be converted to Splines, but not all possible NURBS can be converted to Bezier curves. So the current implementation will output all to polylines and a later one splines which can be converted to Bezier curves will be genereated as SVG Bezier curves.
Regards,
Simon