Vectorize Image logoVectorize Image
Guide

PNG to DXF for CNC Router — Full Workflow

CNC routers require DXF files with clean, closed polylines to generate correct toolpaths in Fusion 360, VCarve, Mach3, or GRBL-based control software. Converting PNG images to CNC-ready DXF is a three-stage workflow: vectorization, path cleanup, and DXF export.

Steps

  1. 1

    Upload the PNG design to the vectorizer above. Download the SVG — this is the vector source for the DXF.

  2. 2

    Open the SVG in Inkscape. Run Path > Simplify to reduce node density. Use the Node Editor to close all open path endpoints.

  3. 3

    Convert all text to outlines: Text > Object to Path. Set document dimensions in mm or inches to match the intended CNC cut dimensions.

  4. 4

    Export DXF: File > Save As > Desktop Cutting Plotter (AutoCAD DXF R14). Verify scale after export.

  5. 5

    Import into Fusion 360 Manufacture workspace: Insert > Insert DXF. Create a 2D Profile toolpath on each closed contour. Confirm no open-path warnings appear.

  6. 6

    Post-process G-code using the appropriate post-processor for the CNC controller (Mach3, GRBL, Centroid, LinuxCNC).

Free Online Tool

Convert PNG to SVG

Open Convert PNG to SVG

About PNG to DXF for CNC router

CNC routers require DXF files with clean, closed polylines to generate reliable toolpaths in CAM software. Open paths in DXF cause toolpath generation errors in Fusion 360, VCarve, Mach3, and most GRBL-based systems.

Why CNC routers need DXF (not just SVG): - Fusion 360 CAM workspace accepts DXF as the native 2D profile import format — DXF imports with exact geometry, no interpretation required. - Mach3 and LinuxCNC post-processors work most reliably from DXF-sourced toolpaths. - Open paths in DXF cause CAM software to report warnings and skip incomplete toolpaths. - All paths must be fully closed polylines for profile and pocket operations.

DXF export checklist from Inkscape: - Use File > Save As > Desktop Cutting Plotter (AutoCAD DXF R14). - Set document dimensions in mm or inches before exporting — this sets the DXF coordinate scale. - Open the DXF in a free DXF viewer (LibreCAD, DraftSight free) to verify dimensions before importing into CAM. - Confirm no open paths: all contours must close back to their starting point.

CAM import checklist for CNC: - Fusion 360: Insert > Insert DXF in the Manufacture workspace. - Verify all imported sketches are fully closed (no open endpoints in the Sketch environment). - Create 2D Profile toolpaths; set tab locations to prevent part lift during cutting.

Use the vectorizer above to start the PNG-to-DXF workflow. The output SVG is the clean vector source for DXF export and CNC toolpath generation.