Inkscape SVG to DXF: How to Convert for CNC and Laser Cutting

If you've ever worked with a vector tool to design something to be carved with a CNC routing machine, you may have needed to convert the resulting SVG file into a DXF. Many people have tried to make the perfect Inkscape plugin for exporting DXF, there is Better DXF Export, Better Better DXF Export and Big Blue Saw's DXF Export. I've had the most luck with the last one, but it was still finicky and often broke when updating Inkscape or OSX.

For the past 18 months I've been tinkering with a terminal application that serves as an Algorand node frontend. I had a number of requirements in mind when choosing the technology: a full screen terminal application, works over ssh, extensible to allow it to evolve with different utilities and views of the system over time, be programmed with the Go programming language. In the past I've created these sorts of programs with bash, but it's not fun to manage terminal control characters and deal with re-drawing with bash. Using bash has always led my applications to be simplistic, typically never getting beyond simple spinners and progress bars. I knew about ncurses, but didn't want to lose the portability of bash -- some of these scripts were even POSIX compliant, and honestly I just didn't want to deal with low level interfaces and C bindings. Enter bubbletea. The team at Charm has built the tools I didn't even know I needed.

If this helped you, please consider downloading my FREE iPhone app "Hydrate Yourself" and leaving a review. There are a whole bunch of tutorials to create a Navigation Controller inside a TabBarController with XCode3. But there are a number of small changes in XCode4 which can trip up someone not familiar with them. So this guide is essentially an updated version of those other guides, designed to create the same simple demo using the new tool.

Practical steps for SVG to DXF conversion

1. Create a new Project We are going to start with a Tab Bar Application, so go ahead and create a new project as usual. I'm calling mine Navigation Tab Bar. 2. Select the Tab Bar Click MainWindow.xib and you should see the integrated Interface Builder. On the left is a section called Objects, select the Tab Bar Controller. 3. Add the Navigation Controller On the right side of your screen click the Utilities box.

Hello, As continuation of this topic, I can now laser cut with scripted python files, but there is another problem. The chinese laser cut machine we use understand only dxf files. So I did one, with Inkscape option Files/Save and then changing filetype to AutoCAD DXF R14, it is the only dxf format that I found in Inkscape. There is of course a generated .dxf file, I could cut rectangle, but some things are missing, I've noticed theses: Scale is lost. Rounded rectangles are no more rounded. Circles are missing. Text is missing. A friend told me that it is a question of path, I should convert the rectangles/circles/texts in path, I'm not aware about that. Perhaps I am wrong, It's surely a newbee error of mine, but I haven't found anything concerning that.

I have used Inkscape to generate dxf files for import into RDWorks, the software used to drive our Chinese laser cutter. I have not had a problem with the scale being lost. This may help, set File -> Document Properties -> Page (tab) - Display units = mm and then, File -> Save as - Save file type = *.dxf in the "Desktop Cutting Plotter" pop up window set, Base unit = mm. You are correct that Objects must generally be converted to paths before saving as a dxf file. Thank you for this answer. It helps a lot.

I have done these jobs: install the last Inkscape 9.2, load the file test.svg, change all objects to path, Change current unit to mm, save the file as test.dxf. Open file selector with new file, select file test.dxf, selected "Scaling -> read from file" load the file. It works much better, I have now all missing parts, circles, rounded rectangles and texts. But... The new sketch is really too small, not scaled at all-the stroke_width is too big. Texts are not filled, just stroked. This was the case of a new file. Shame on me! I didn't notice this in the FAQ!

Texts in DXF are often outlines; in RDWorks the imported text outline path from the dxf file is placed on a layer that is set as "scan" (=engrave). For laser cutting, the text is typically exported as a path rather than filled text. Inkscape can export two versions of DXF: AutoCAD DXF R12 and AutoCAD DXF R14, and you may find that circles do not convert to perfect circles because of scaling or path-to-arc issues.

There are several approaches to improve results: convert all text to paths before saving as DXF, ensure objects are converted to outlines, and check the unit settings (mm vs inches) in the DXF export dialog. One common workflow is to convert objects to paths, set the base unit to millimeters, and then export as DXF R14. Saving as DXF may require using the "Desktop Cutting Plotter" + Base unit = mm and ensuring the design is 1:1 scale.

SVG to DXF conversion can also be approached with alternative tools. ReaConverter enables bulk SVG to DXF conversions, though it is a desktop and online option with some privacy considerations. Inkscape remains a robust free option, but its DXF export sometimes requires careful preparation of the artwork (converting text to paths, removing unneeded elements, and validating the paths are connected). Some users compare different tools, noting that ReaConverter may yield better results in some cases, while Inkscape’s free option is still widely used for straightforward vector-to-CAD workflows.

In short, the reasons for wanting to complete the conversion vary. Some users need to edit the contents of the files, which could include 2D drawings or 3D models, using CAD software. SVG is a web-friendly vector format, while DXF is a CAD-interchange format designed to encode precise geometry for machines like CNC routers and laser cutters. The conversion is generally straightforward given both formats are vector-based, but practical caveats exist around units, path conversion, and text handling.

Practical tips and caveats

  • Always convert text to paths before saving as DXF to ensure glyph shapes are preserved as outlines.
  • Check document units and switch to mm to maintain a 1:1 scale when exporting to DXF.
  • Use Outline display mode to verify that only the intended geometry remains in the file.
  • Be aware that Inkscape’s DXF export may not perfectly round circles; arcs may appear as short segments depending on the export settings.
  • For large batches, consider ReaConverter for bulk SVG to DXF conversions, but assess privacy policies for sensitive designs.

How to choose the right tool for your workflow

If you’re deciding between in-app Inkscape exports and third-party converters, consider the following: Inkscape is a free, widely supported option with an active community, but its DXF export may require careful preparation of the artwork. ReaConverter offers bulk and possibly more consistent results but may involve a paid license and privacy considerations. Paid software like CorelDraw can also perform SVG to DXF conversions, but for occasional use, Inkscape or online converters are often sufficient.

When preparing a design for a laser cutter or CNC, think about: exact scale, proper path conversion, avoiding unneeded dimensions, and ensuring all shapes are united where necessary. If you open a DXF in Inkscape and find oversized or misaligned elements, re-check the base units and re-export after adjusting paths to outlines and confirming no stray points remain.

SVG to DXF conversion infographic

How to convert svg to dxf in inkscape (Design Export)

In summary, converting SVG to DXF for CNC or laser cutting is a common task with multiple viable workflows. Inkscape provides a solid free path, while tools like ReaConverter can offer convenience for bulk work. Understanding unit handling, path conversions, and the treatment of text is key to achieving accurate DXF output for machining.

tags: #inkscape #svg #to #dxf