The Xometry app works best with JavaScript enabled!
ResourcesSheet7 Steps on How To Create DXF Files for Laser Cutting

7 Steps on How To Create DXF Files for Laser Cutting

Picture of Dean McClements
Written by
 5 min read
Published August 8, 2023
Laser cutting. Image Credit: Shutterstock.com/Skylines

The DXF (Drawing Exchange Format or Drawing Interchange Format) file format is one of the two most common formats used in laser cutting. DXF uses vectors, which can be read by laser-cutting machines and turned into cutting instructions. There are many applications that can be used to create DXF files, as DXF is an open-source file type. Many applications are free including Inkscape®. This article will discuss the seven steps required to make a DXF file for laser cutting using Inkscape.

1. Select an Image for DXF File

The first step is to find the image you want to laser cut. This can be in any format. However, it works best with pictures that have a strong outline. For this example, we shall use a mortarboard in Figure 1 below:

Black mortarboard.

Black mortarboard.

2. Edit Image Layers for Laser Cutting Guide

Edit the image to ensure that the laser will cut out the right geometry. As highlighted in Figure 2, the mortarboard has a gap between the top and bottom parts: 

Gap in Mortarboard

Gap in Mortarboard

This is a problem when DXF laser cutting for two reasons. The first is that the Inkscape software will see this as two pieces of geometry and will cut out two parts, which is not what is required. Secondly, even if that was required, cutting lines too close together can cause the material to warp, so these lines need to be edited out as shown in the next image. This needs to be done before loading the image into Inkscape. Otherwise, the software will still register two parts even if it's drawn on in the software. Figure 3 below illustrates the edited image:

Edited Mortarboard

Edited Mortarboard

3. Import Into Inkscape and Trace Bitmap

Open the image in Inkscape via the “Open” button in the drop-down menu under “File” as shown in Figure 4:

Inkscape Canvas

Inkscape Canvas

Then, find the image you want to upload in your folder, select, and click “Open” as shown in Figure 5:

Inkscape Open Folder

Inkscape Open Folder

Leave the settings as standard and click “Ok” as illustrated in Figure 6:

Inkscape Dialog Box

Inkscape Dialog Box

The image should now be in Inkscape (Figure 7 below):

Mortarboard in Inkscape

Mortarboard in Inkscape

Using the “Path” drop-down menu, select the “Trace Bitmap” option as shown in Figure 8:

Trace Bitmap

Trace Bitmap

This will pop up in the Bitmap menu. The Bitmap traces the silhouette to make a line for the laser cutter as seen in Figure 9: 

Trace Bitmap Applied

Trace Bitmap Applied

Make sure the image is selected for the bitmap to work. Press “Apply” to use the Bitmap function. After using the Bitmap function, the silhouette will appear on top of the image as shown in Figure 10:

Delete the Original Photo

Delete the Original Photo

Make sure to move the silhouette off of the image and delete the image before continuing. Once the original image is deleted the silhouette will be left as illustrated in Figure 11:

Silhouette

Silhouette

4. Create the Bases or the Hanging Holes

You may want to create a hanging hole or a base for the final piece to be displayed as shown in Figure 12: 

Hanging Hole Edition

Hanging Hole Edition

To create a hanging hole, use the circle tool on the left toolbar. To create a perfect circle, hold Ctrl + Alt while drawing the hole. Alternatively, to create a base, draw the additional geometry as shown in Figure 13:

Base Edition

Base Edition

5. Making Page Orientation Changes To Enclose Base Design

Once you have used the Bitmap function to trace all of the geometries, you may find that they don't all fit on the page. To solve this, select all of the pictures and use the “Document Properties” function under the “File” drop-down menu. Then, select “Resize to content” to fit the page exactly to the geometry shown in Figure 14. This will save scrap. 

Resize Document To Fit Geometry

Resize Document To Fit Geometry

6. Exporting to DXF

Save the geometry as a DXF file using the “Save as” button in the “File” drop-down menu. Save the document as “Desktop Cutting Plotter (AutoCAD® DXF R14)” (Figure 15) and click “Ok” in the pop-up dialog box (Figure 16):

Save the File as DXF

Save the File as DXF

Click “Ok” in the Dialog Box

Click “Ok” in the Dialog Box

7. Importing the DXF File, Choosing the Speed, and Choosing the Power Settings

After importing the new DXF file into the laser cutting software, select the speed and power settings. Load the material to be cut into the laser cutter. Then, using your laser cutting manual, select the prescribed speed and power for the material type and thickness to be cut. Make sure the laser is also the right distance from the cutter. Finally, run the laser cutter and then put your cut-out material into use. 

Summary

This article presented the steps on how to create a DXF file, explained them, and laid them out with visuals. To learn more about DXF files, contact a Xometry representative.

Xometry provides a wide range of manufacturing capabilities, including sheet cutting and other value-added services for all of your prototyping and production needs. Visit our website to learn more or to request a free, no-obligation quote.

  1. AutoCAD® and Fusion® are registered trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates, in the United States.
  2. Inkscape® is a registered trademark of Software Freedom Conservancy, Inc.
  3. Linux® is a registered trademark owned by Linus Torvalds.
  4. Adobe® Illustrator® is a registered trademark of Adobe in the United States and/or other countries.

Disclaimer

The content appearing on this webpage is for informational purposes only. Xometry makes no representation or warranty of any kind, be it expressed or implied, as to the accuracy, completeness, or validity of the information. Any performance parameters, geometric tolerances, specific design features, quality and types of materials, or processes should not be inferred to represent what will be delivered by third-party suppliers or manufacturers through Xometry’s network. Buyers seeking quotes for parts are responsible for defining the specific requirements for those parts. Please refer to our terms and conditions for more information.

Picture of Dean McClements
Dean McClements
Dean McClements is a B.Eng Honors graduate in Mechanical Engineering with over two decades of experience in the manufacturing industry. His professional journey includes significant roles at leading companies such as Caterpillar, Autodesk, Collins Aerospace, and Hyster-Yale, where he developed a deep understanding of engineering processes and innovations.

Read more articles by Dean McClements

Quick Links

  • Home

  • Contact Us

  • Help Center

  • About Us

  • Careers

  • Press

  • Investors

  • Xometry Go Green

Support

  • Privacy Policy | Terms of Use | Legal

  • ITAR | ISO 9001:2015 | AS9100D | ISO 13485:2016 | IATF 16949:2016


© 2024 Xometry, All Rights Reserved