Preparing a DXF File for Laser Cutting (Free CAD Tools Included)

A

A DXF is a vector CAD file that stores your part’s lines, arcs and circles, so a laser can follow them as cutting paths. To prepare one for laser cutting, close every cut path, remove duplicate lines, convert text to outlines, and export at 1:1 scale in millimeters.

What is a DXF File?

Drawing Exchange Format, or DXF, is a file format widely used throughout industry for storing and exchanging engineering drawings. Specifically a vector-based file format, DXF was originally released by Autodesk in 1982 to allow design files to be easily shared between different CAD packages and computer systems.

As DXF files store geometric information mathematically, individual features such as lines, arcs and circles can be accurately reproduced by different software packages without being dependent on the resolution of an image. This is particularly important in engineering applications where the dimensions and positioning of individual features need to be maintained when transferring designs between CAD software and manufacturing equipment.

While the DXF file format supports three-dimensional geometry, it is primarily used for two-dimensional drawings, making it ideal for 2D machining processes such as laser cutting, XY CNC machining and plotting. In the case of laser cutting, the geometric information contained within a DXF file can be used by manufacturing software to generate the individual cutting paths needed to produce a part from a sheet of material.

DXF Rules for Laser Cutting

While we accept DXF files for laser cutting, there are some core design rules that engineers need to follow to ensure that their designs can be correctly interpreted by our laser cutting equipment.

Firstly, all cutting lines that define the perimeter of a part or an internal cutout must form closed shapes, as any gaps between connecting lines can leave sections of material attached to the surrounding sheet. Even small gaps that are difficult to see when viewing a design at its normal scale can result in manufacturing issues.

The units of measurement must also be correctly defined within the DXF file, and all geometry should be exported at a 1:1 scale to ensure that the manufactured part matches its intended dimensions. For maximum compatibility with our quote tool, set the DXF INSUNITS parameter to millimeters and check the exported dimensions before ordering. We tested this on Dec 3, 2026. The same 80 by 40 mm bracket came in at the right size when INSUNITS was set to millimeters or inches. With no units set, it came in at 2,032 by 1,016 mm, 25.4 times too large. If the size looks wrong, retype the correct width and height when you confirm the part.

Any duplicate or overlapping cutting lines should also be removed from the design, otherwise the laser cutter may attempt to cut along the same path multiple times, increasing manufacturing costs while potentially damaging the edges of the material.

When using splines to create complex curved geometry, it is recommended that these are converted into compatible arcs or polylines where necessary, as different CAD packages and manufacturing software may interpret spline data differently. However, care should be taken when selecting the conversion tolerance, as using too few line segments can result in visibly segmented curves, while using too many can unnecessarily increase the complexity of the DXF file.

Finally, any text included in the design must be converted into vector outlines so that the geometry of each character is explicitly defined within the DXF file. For designs where text is being cut out of the material, bridges may also need to be incorporated into characters such as A and O to prevent their enclosed sections from falling out.

Free CAD tools that export a clean DXF

Engineers looking to manufacture their own custom parts have access to numerous free CAD packages capable of exporting DXF files, with the choice of software largely depending on the complexity of the part and how the engineer prefers to design it.

CAD softwareWhat it is best suited for
LibreCADA dedicated 2D CAD package with native DXF support that is particularly useful for designing mechanical panels, brackets and enclosures.
QCAD Community EditionA 2D CAD package suited to precision mechanical drawings and designs that require accurately positioned geometric features.
FreeCADA parametric 3D CAD package that allows engineers to develop complex mechanical assemblies and export individual 2D profiles for manufacturing.
SolveSpaceA lightweight parametric CAD package that is particularly useful for designing mechanically constrained parts and components that need to fit together.
OpenSCADA code-based CAD package that is particularly useful for programmatically generating designs with repetitive features and configurable dimensions.

We checked each tool’s own site or project page on Dec 3, 2026. All five list DXF support: LibreCAD reads and writes DXF, QCAD Community Edition writes DXF R15 (2000), FreeCAD and SolveSpace export DXF, and OpenSCAD uses DXF for 2D outlines.

Regardless of which CAD package is used, engineers should ensure that their exported DXF files only contain the geometry needed to manufacture the part, with any construction lines, dimension markers and drawing borders removed.

When exporting a DXF file from a 3D CAD package, engineers should ensure that the appropriate face or sketch is exported as flat geometry in the XY plane, as exporting an entire model can introduce additional geometry that is unsuitable for laser cutting.

Where the option is available, exporting using the AutoCAD 2007 DXF format can help improve compatibility with our uploader, although some free CAD packages may only support specific DXF versions. Our upload guide names 2007 DXF as the most compatible version. Older R12 files cannot store the INSUNITS setting at all, although our R12 test file still came in at the right size.

Once a DXF file has been exported, opening it in a separate CAD package can help identify any issues introduced during the export process, including changes to dimensions, missing geometry and incorrectly converted curves.

Fusion 360 browser with Save As DXF chosen from the right-click menu on a sketch

Turning a PDF or image into a DXF

While creating a design directly in a CAD package is generally the preferred method for engineering applications, it is also possible to generate DXF files from existing PDF documents and images.

PDF documents that already contain vector geometry are often the easiest to convert into DXF files, as the mathematical descriptions of the shapes within the document can potentially be extracted without having to recreate the original geometry. However, PDF documents containing scanned drawings or raster images require additional processing to convert their pixel data into vector paths.

Free software packages such as Inkscape provide bitmap tracing capabilities that allow engineers to automatically generate vector paths from existing images, which can then be exported as DXF files for further processing in a CAD package.

The general process for converting an image or PDF into a DXF file involves the following steps:

1

Import the source PDF or image into Inkscape and determine whether the document already contains usable vector geometry.

2

If the source is a raster image, use the bitmap tracing tool to generate vector paths from the edges of the shapes within the image.

3

Remove the original raster image along with any unwanted geometry generated during the tracing process.

4

Simplify the resulting vector paths to reduce the number of unnecessary points while maintaining the intended shape of the design.

5

Inspect the geometry for open contours and overlapping lines, particularly when converting drawings that contain thick outlines.

6

Scale the resulting geometry using a known physical dimension before exporting the design as a DXF file.

7

Open the exported DXF file in a CAD package to verify that the geometry and dimensions are correct.

While automatic image tracing can be particularly useful for manufacturing decorative parts and signage, the accuracy of the resulting geometry is heavily dependent on the quality of the original image.

For example, low-resolution images can introduce irregular edges, scanned drawings can suffer from dimensional distortion, and photographs can introduce perspective errors that prevent accurate measurements from being taken.

As such, engineers looking to manufacture precision mechanical parts from an existing image or scanned engineering drawing should consider manually recreating the design in a CAD package using known dimensions and geometric constraints, especially when the manufactured parts need to interface with existing mechanical components.

Pre-upload checklist

Before you upload a DXF file for laser cutting, engineers should perform the following seven checks to ensure that their designs are ready for manufacturing:

  • File format: Ensure that the design has been exported using a supported laser cutting file format and can be opened without errors.
  • Units and scale: Verify that the units of measurement are correctly defined and that the geometry has been exported at a 1:1 scale.
  • Closed cutting paths: Check that all external part profiles and internal cutouts form closed contours without unintended gaps.
  • Duplicate geometry: Remove any overlapping or duplicate cutting lines that could increase manufacturing times and costs.
  • Clean vector geometry: Remove unnecessary drawing elements, convert text to outlines and ensure that any splines have been converted where necessary.
  • Manufacturing operations: Ensure that different colors are used to distinguish between cutting, line engraving and area engraving where required.
  • Minimum feature sizes: Check that all holes, slots and thin sections meet the minimum feature size requirements for the selected material and thickness.

While DXF is one of the most widely supported laser cutting file formats, we also accept several other design file formats, allowing engineers to work with both mechanical CAD packages and vector graphics software.

The laser cutting file formats we currently accept include:

File formatDescription
DXF (.dxf)Vector-based CAD drawings commonly used for precision mechanical parts.
SVG (.svg)Scalable vector graphics commonly used for graphical and decorative designs.
AI (.ai)Adobe Illustrator files containing vector artwork for cutting and engraving.
EPS (.eps)Encapsulated PostScript files containing vector geometry.
STEP (.step, .stp)Three-dimensional CAD models that can be used to manufacture flat mechanical parts.

We confirmed this list on Dec 3, 2026: our laser cutting and sheet metal quote accepts STEP, STP, DXF, SVG, EPS and AI files. DWG is not on the list, and a DWG file we uploaded never finished processing, so export a DXF from your CAD program first.

For designs requiring additional manufacturing operations such as engraving or metal bending, we recommend using one of our supported 2D vector file formats so that different manufacturing operations can be defined using separate colors.

Once you have completed your design, upload a file and pick a material for an instant quote, where you can select your preferred material, thickness and production quantity to determine how much your custom laser cut parts will cost.

TESTED

How we tested

On Thursday, Dec 3, 2026, between about 2:50 and 3:05 p.m. Eastern, we made test files and uploaded each one to our instant quote as a guest. We wanted to see how the uploader reads units, file versions and common export mistakes, so we sent the same 80 by 40 mm bracket as a DXF in several ways, plus an SVG and a DWG. The question was which files come in at the right size, which types we accept, and which problems the automated check actually catches.

  • Test part: an 80 by 40 mm bracket with two holes and a slot, saved as DXF in several ways, plus the same bracket as an SVG.
  • Units: millimeter and inch DXFs with INSUNITS set both came in at 80 by 40 mm. A DXF with no units came in at 2,032 by 1,016 mm.
  • Version: 2007 DXF uploaded cleanly. An R12 DXF, which cannot store INSUNITS, also came in at the right size.
  • Live text: a DXF with unconverted text passed the automated check, but the text was missing from the part preview. Convert text to outlines.
  • Gaps and doubles: a 0.05 mm gap in the outline and a doubled edge line both passed the automated check, so close paths and delete duplicates yourself. Our team also checks for double lines by hand.
  • DWG: a file with a .dwg extension never finished processing.

Talk with someone at Ponoko

You can talk with someone at Ponoko right now. Chat with us now, or book a time with a sales engineer. You can also email hello@ponoko.com. Send your file and tell us what program you drew it in, and we can help you get it accepted. Ready for a price? Upload a file and pick a material.

File prep questions

Q1

What program will open a DXF file?

Most CAD programs will open a DXF file, because the format was built to move drawings between them. Free options include LibreCAD, QCAD Community Edition, FreeCAD, SolveSpace and OpenSCAD. Paid programs such as AutoCAD, SolidWorks, Fusion 360 and Inventor open and export DXF too. After exporting, open the file in a second program to check it.

Q2

What is the difference between a DWG and a DXF?

The difference between a DWG and a DXF is purpose. DWG is AutoCAD’s native, proprietary binary drawing format. DXF is the exchange format Autodesk first documented in 1982, so other CAD programs can read and write the same drawing. Our laser cutting quote accepts DXF but not DWG, so export a DXF before you upload.

Q3

Can a PDF file be converted to a DXF file?

Yes, a PDF can be converted to a DXF, but accuracy depends on the source. A PDF that already holds vector geometry converts most easily. A scanned or raster PDF needs tracing, for example in Inkscape, and the result must be cleaned and checked. For precision parts, redraw the design in CAD using known dimensions.

Q4

How do I turn a file into a DXF?

To turn a file into a DXF, open the design in a CAD package and export the flat 2D profile as a DXF. From 3D CAD, export the face or sketch in the XY plane, remove construction lines, dimension markers and borders, and keep units and 1:1 scale correct. Then open the DXF in a second program to check it.

Q5

Which file types do you accept for laser cutting?

We accept STEP, STP, DXF, SVG, EPS and AI files for laser cutting, but not DWG. Our DFM checks cap each file at 100 MB and 3,000 points, with no raster images and with text converted to outlines. For engraving or metal bending, use a 2D vector format so each operation gets its own color.

Upload your DXF for an instant quote, or talk it through.

Upload a file for your price, chat with us now, or book a time with a sales engineer.

Sources

< Previous Post

Leave a Reply

Your email address will not be published. Required fields are marked *

Name *