Precision Raster-to-CAD Conversion Directly in Your Browser
Laser cutters, CNC plasma tables, waterjets, and 3-axis routers cannot cut raster .png images—they require closed vector toolpaths in AutoCAD DXF format. PNGtoDXF CAD Foundry runs a complete client-side vision pipeline: Sobel edge gradient extraction or binary silhouette thresholding, 16-case Marching Squares contour tracing, endpoint stitching, and Douglas-Peucker polyline simplification, outputting genuine AutoCAD R12 (AC1009) ASCII .dxf files scaled accurately to millimeters.
Quick Start: Convert a PNG to Laser-Ready DXF
- Drop a black-and-white PNG or JPG part drawing into the console above (or click Load CNC Flange to inspect a real mounting bracket with bolt holes and a keyway notch immediately).
- Choose Detection Mode: Use Solid Silhouette for filled silhouettes, gaskets, brackets, and laser cutouts. Switch to Sobel Edge Gradient for grayscale photographs, engraving sketches, or thin mechanical line drawings.
- Set Target Physical Width (mm): Enter the real-world width of your finished part in millimeters (e.g.,
120 mm). The DXF header sets$INSUNITS = 4(millimeters) and flips the Y-axis into standard CAD cartesian coordinates. - Inspect the Glowing Toolpath Overlay & Telemetry: Confirm the polyline count, physical bounding box, and total laser cut path length, then click Download AutoCAD R12 .DXF.
Parameter Calibration Guide
| Parameter | Laser / Plasma Cutout | Fine Line Engraving | Legacy Shop Controller |
|---|---|---|---|
| Detection Mode | Solid Silhouette | Sobel Edge Gradient | Solid Silhouette |
| Edge / Cut Threshold | 120 – 150 |
70 – 110 |
128 |
| Trace Sample Grid | 200 – 260 px |
240 – 320 px |
160 – 200 px |
| Path Simplification | 1.0 – 1.6 px |
0.6 – 1.0 px |
1.4 – 2.2 px |
| DXF Entity Format | POLYLINE (Connected) |
POLYLINE |
LINE (Universal) |
Verified CAM Software Compatibility
Because we emit clean AutoCAD R12 (AC1009) ASCII syntax on a dedicated CUT_CONTOUR layer with explicit POLYLINE / VERTEX / SEQEND or LINE records, exported files open cleanly in LightBurn, AutoCAD, Fusion 360, QCAD, FreeCAD, SheetCAM, Vectric VCarve, and Mach3/LinuxCNC.
Explore calibrated machine profiles on Laser & CNC Cut Presets, read the full DXF Tracing Guide, or compare specs in PNG vs DXF.