GreatLight CNC Machining Factory logo
CNC Machining
Rapid Prototyping
Materials
Industries
News
About GL

Get Instant Quote

CAM input guide

What File Types to Engrave on a CNC Machine

Engraving is a geometry problem, not an art problem. This page explains which file types engrave on a cnc machine cleanly, which ones lose depth data, and how to decide based on letter height, line width, and material.

DXF / DWGSVGSTEP / IGESSTL
what file types to engrave on a cnc machine
Vector geometry

Vector formats: the working set when you engrave on a cnc machine

Engraving puts a tool tip through a path. The path is what the CAM system reads, so any file you send has to survive the trip as clean vector geometry. DXF and DWG are the default for 2D engraving because they store lines, arcs, and polylines without a fill model. A single-stroke DXF is the cleanest thing you can send us.

SVG is equally usable. It is text-based, it scales without loss, and it handles bezier curves well, which matters for script lettering and small logos. The catch is units. An SVG with no width and height attributes in millimeters can land ten times too large or too small, and the operator will not always catch it before setup.

PDF sits in a gray area. A true vector PDF exported from Illustrator or Inkscape carries the same paths as a DXF and works fine. A scanned PDF is a raster image wrapped in a document shell. It looks sharp on screen and gives CAM nothing to follow.

Check one thing before you export: convert all text to outlines. Font substitution on our side changes stroke width, and a 1.5 mm character can close up into a blob. Outlined text is geometry and cannot shift.

Depth data

What 3D formats add that 2D files cannot

A DXF tells the tool where to travel. It says nothing about how deep to go. Depth usually lives in the CAM operation, not the file, which is fine for flat engraving at a fixed depth on a flat face.

STEP and IGES are the formats to use when the engraving sits on a curved or angled surface. These are true B-rep solids. The CAM system can project the path onto the actual surface, so a part number wrapped around a Ø40 mm boss keeps even depth instead of fading at the edges.

STL is a mesh, not a solid. It works for engraving on organic shapes and cast surfaces, but the facets introduce small errors. On a coarse STL, a curved letter can show visible flat spots. Ask for a finer tessellation if the text is smaller than 4 mm.

A practical split: send DXF or SVG for flat engraving, STEP for anything on a 3D contour. Sending both is common and costs you nothing.

Limits

Where engraving geometry breaks down

The limit is the tool, not the file. A typical engraving cutter has a 0.2–0.5 mm tip. A stroke narrower than the tip will not cut cleanly; the tool rubs and burns the surface. Keep minimum line width at 0.15 mm and above for readable results.

Character height matters just as much. Below 1.5 mm, letterforms start to merge on aluminium and most plastics. Our laser marking also bottoms out at 1.5 mm character height. If your drawing calls for 1 mm text, expect to widen the font or switch to a different marking method.

Depth is the third constraint. On a 1 mm thick sheet, a 0.3 mm engraving pass removes a third of the material and can warp the part. On thick plate it is a non-issue.

Sharp internal corners are the last one. A round tool cannot produce a true 90° inside corner. If the file demands one, the CAM engineer has to leave a radius, and the drawing should say so.

Materials

How material changes the file you should send

Aluminium and brass engrave well. Both cut clean chips, hold a crisp edge, and tolerate Ra 0.8–1.6 μm finishes before or after the mark. DXF at 0.2 mm depth is usually enough for a legible part number.

Stainless 304 and 316 work-harden. A light pass can polish instead of cut, so the depth per pass drops and the number of passes rises. Send STEP if the mark follows a curved surface, because re-fixturing a hardened part for a second setup is expensive.

Plastics are the awkward case. POM and ABS burr easily, and PC can craze around the cut. A wider stroke and a shallower depth of 0.1–0.15 mm give a cleaner result than a fine, deep line.

Titanium and Inconel are slow but predictable. Engraving is a light operation compared with milling, so the file type does not change much. What changes is the time, and time is what the quote reflects.

Format selection

File type compared for engraving

Pick the format that matches where the mark sits and how deep it goes.

FormatCarriesBest forWatch out
DXF / DWG2D vectorsFlat faces, part numbers, single-stroke textDepth lives in CAM, not the file
SVG2D vectors, curvesLogos, script lettering, small detailUnit attributes are often missing
PDF (vector)2D vectorsFiles straight from a design toolScanned PDFs carry no paths
STEP / IGES3D solid modelMarks on curved or angled surfacesLarger files, needs a solid modeler
STLTriangle meshOrganic and cast surfacesCoarse facets show flat spots on curves
HPGL / PLT2D plotter pathsOld CAD output, simple line marksNo layers, no text metadata

Which format to send

For flat engraving, send a single-stroke DXF or an SVG with unit attributes set. For any mark that follows a curve, send STEP. If you are unsure, send both and let the CAM engineer pick.

FAQs

Common questions

Can you engrave from a JPG or PNG?

Not directly. A raster image has no vector path, so the tool has no line to follow.

We can trace it into vectors first, but tracing smooths corners and thin strokes. Send the original vector file if it exists.

What is the smallest text you can engrave?

1.5 mm character height is the practical floor for laser marking, and roughly the same for a 0.2 mm engraving cutter on aluminium.

Below that, strokes merge. Wider fonts and more spacing help more than a smaller tool.

Does the file type change the price?

Rarely. A clean DXF and a clean STEP for the same part quote out close together.

What moves the price is setup count, part size, and how much geometry cleaning the file needs.

Should I send a 3D model or a 2D drawing?

Send the 3D model for the part and a DXF for the mark. That combination removes almost all ambiguity.

A 2D drawing alone leaves the engraving position open to interpretation.

How do I set units in an SVG?

Add width and height attributes in millimeters, and set the viewBox to match.

Without them, the file renders at an arbitrary scale and the mark comes out the wrong size.

Do you keep my files confidential?

Uploads are secure and confidential, and we can sign an NDA on request.

We hold ISO 27001:2022 for information security.

Send your engraving file for a DFM check

Quotation and free DFM analysis within 12 hours. One prototype or 10,000 parts, no minimum order quantity.

12-hour quoteFree DFM analysis100% inspection

Follow

More from GreatLight

We publish setup notes, tooling trials and inspection data from the factory floor.

FacebookTikTokYouTubeLinkedInInstagramThreadsPinterest

Trusted by engineers and manufacturers worldwide

Tesla Ford Motor Company BYD Auto Denso Magna International Boeing Airbus Medtronic KUKA FANUC