CAD ENGINE // SOBEL GRADIENT + MARCHING SQUARES → AUTOCAD R12 DXF MILLIMETER SCALED · ZERO CLOUD UPLOADS
DXF PNGtoDXF CAD Foundry
CNC WORKSHOP // RASTER TO AUTOCAD R12 DXF

PNG to DXF Converter — AutoCAD R12 Laser & CNC Tracer

Convert PNG and JPG blueprints into real millimeter-scaled AutoCAD R12 DXF contours in your browser using Sobel edge detection and marching squares.

SOBEL + MARCHING SQUARES DXF ENGINE (AC1009 / R12) Drop a PNG/JPG blueprint or load the sample CNC flange.
Drop PNG / JPG / WebP drawing here or click to browse local CAD reference files
POLYLINES / SEGS
0
CAD DIMENSIONS
0 × 0 mm
CUT PATH LENGTH
0 mm
DXF FILE SIZE
0 KB

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

  1. 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).
  2. 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.
  3. 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.
  4. 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.

Frequently Asked Questions

Does this converter generate a genuine AutoCAD R12 DXF file?

Yes. It writes a standards-compliant AC1009 ASCII DXF file containing HEADER ($INSUNITS in millimeters), TABLES (CUT_CONTOUR layer), and ENTITIES (POLYLINE/VERTEX/SEQEND or LINE records).

Will the exported DXF open at the exact millimeter size in LightBurn and Fusion 360?

Yes. Every vertex coordinate is scaled mathematically to match your Target Physical Width (mm) input, with the CAD Y-axis oriented upward so parts are never mirrored vertically.

When should I use Solid Silhouette vs Sobel Edge Gradient?

Use Solid Silhouette for high-contrast black-on-white silhouettes, brackets, gaskets, and stencils—it produces one clean closed cut contour per shape. Use Sobel Edge Gradient for grayscale sketches, blueprints, and photographic line art.

Should I export POLYLINE or LINE entities?

Choose POLYLINE for LightBurn, Fusion 360, VCarve, and modern laser CAM so contours arrive already joined into continuous paths. Choose LINE only for older plasma or waterjet controllers that require individual line segments.

Are proprietary mechanical drawings uploaded to a server?

Never. Image decoding, Sobel filtering, Marching Squares contour stitching, and DXF serialization execute 100% locally in your browser memory.