Vectroy

xTool Laser Workflow: Getting SVG Files Production-Ready

xTool's laser system accepts DXF, PDF, SVG and raster formats. This guide walks through the export settings that prevent scale mismatches, the kerf compensation layer workflow, and the color-to-operation mapping unique to xTool.

November 7, 2026 · 9 min read

xTool's Creative Space (XCS) software accepts SVG, DXF, PDF, AI, JPG, and PNG files, but the import pipeline makes assumptions that quietly break your design: geometry lands at the wrong scale, strokes cut when you wanted engraves, and kerf goes uncompensated until joints won't fit. Getting an xTool laser SVG file production-ready means controlling DPI at export, mapping layer colors to operations deliberately, and offsetting paths for kerf before the job runs.

Which File Formats Work Best in xTool Creative Space?

XCS processes every import differently. SVG and DXF carry real geometry — strokes, fills, and paths that map to machine operations. PDF and AI imports rasterize or vectorize depending on content, and XCS flattens live text into outlines in most cases (though text-to-path before export is still the safe habit). JPG and PNG become engrave layers pixel-by-pixel, exactly like the Glowforge and LightBurn pipelines.

FormatHow XCS Interprets ItWatch Out For
SVGPaths map to layers by stroke color; fills become engrave regionsIllustrator's 72 DPI export causes a 1.33× scale shift
DXFPure geometry, no fills — everything imports as cut pathsExport R12/R14; splines may convert to polylines
PDFVector content preserved; embedded images rasterizeLive fonts and transparency groups can drop silently
JPG / PNGBecomes an engrave layer, power mapped from pixel brightnessUnder 300 DPI, photos engrave muddy — see raster engraving settings
AIVector art converts; effects and live text may notSave as SVG instead for predictable geometry

For production work, plain SVG is the most reliable handoff. It keeps strokes as strokes, preserves the document scale when exported correctly, and XCS's layer system reads it cleanly. DXF remains the fallback for CAD-originated work — if your file starts life in Fusion 360 or AutoCAD, our SVG to DXF converter and the reverse conversion both help bridge the gap.

Why Does Your xTool Laser SVG Import at the Wrong Size?

The scale mismatch is a DPI disagreement between design apps. The SVG specification treats one user unit as 96 px per inch; Illustrator historically exports geometry at 72 px per inch. Export a 100 mm-wide rectangle from Illustrator and XCS shows it as 133.3 mm wide — a 1.333× inflation. Inkscape documents set to millimeter units import at true size. This is the same class of problem that bites LightBurn users, covered in the LightBurn SVG import guide.

Export Settings That Prevent Scaling Shift

Three habits eliminate the problem at the source:

  • Set document units to millimeters before drawing, and lay out the artboard at the physical size you intend to cut. Verify with a 20×20 mm reference square in a corner of the file.
  • Export with explicit width/height in mm. In Inkscape, use File → Save As → Plain SVG with document units in mm. In Illustrator, choose File → Export → SVG and confirm the SVG units dropdown reads millimeters, not pixels.
  • Verify inside XCS before jogging the machine. Select the imported artwork and check the W/H fields in the toolbar against your intended dimensions. If they're off by exactly 1.333× or 0.75×, re-export from the design app rather than hand-scaling in XCS — hand-scaling fixes this job but breaks the next one.

An XCS project (.xcs) saved after a hand-scale correction bakes the wrong scale into the project file. Always fix the source SVG, re-import, and save a clean project. If your artwork starts as a bitmap, convert it first with the PNG to SVG converter so the geometry lands as true vectors at the correct scale.

How Do Layers Map to Laser Operations in XCS?

XCS organizes imported vector geometry into layers keyed by stroke color, and each layer carries its own process assignment — Cut, Score, Engrave, or Ignore — plus independent power, speed, and pass settings. This is xTool's equivalent of LightBurn's color-to-operation mapping: the file's colors are just labels, and you bind them to machine behavior in software.

A deliberate color convention saves reconfiguration on every job. The mapping below is common practice across diode and CO2 xTool machines:

Color in FileOperation in XCSTypical Settings (D1 Pro 20 W, 3 mm ply)
Red strokeCut (full through)100% power, 6-8 mm/s, 2 passes
Blue strokeScore (no through-cut)30-40% power, 100-200 mm/s, 1 pass
Black fillEngrave (raster region)60-80% power, 3,000-6,000 mm/s, line interval 0.1 mm
Green strokeIgnore / alignment markSet to Ignore so the machine skips it

Order matters for Through-cut operations. XCS runs layers in the order shown in the Layers panel — drag Score above Cut so fold lines and labels engrave while the part is still attached to the sheet. Once a full cut frees the part, it can shift under airflow and every subsequent operation lands off-target.

Kerf Compensation Layer Workflow

The beam removes material. A 20 W diode with a 0.08×0.08 mm compressed spot produces a kerf of roughly 0.12-0.18 mm in plywood and 0.10-0.14 mm in acrylic — the cut channel is wider than the drawn path. XCS has no built-in kerf offset field the way LightBurn does (LightBurn's cut settings expose a kerf offset in mm), so compensation happens in the design file.

The practical workflow: keep original artwork on one layer, and produce a compensated duplicate for cutting. In Inkscape, select the path and apply Path → Dynamic Offset, entering half the measured kerf — 0.06 mm to 0.09 mm for a typical plywood job. In Illustrator, use Object → Path → Offset Path with the same value. Direction follows the joint type:

  • Interior holes (female parts): offset outward so the hole grows by half the kerf and a bolt or dowel passes through at nominal size.
  • Tabs and tenons (male parts): offset inward so the part shrinks by half the kerf and fits the matching hole with light friction.
  • Decorative outlines: skip compensation — a 0.15 mm width change is invisible at craft scale.

Measure kerf on your own machine rather than trusting published spot sizes. Cut a 20×20 mm square, measure the cut piece with calipers, and subtract: kerf = nominal − measured. For press-fit joints that need real force tolerance — 0.05-0.1 mm of interference — the full math is in the laser kerf and press-fit guide.

What Machine-Specific Limits Change the Workflow?

XCS serves a machine range with very different optics, and settings do not transfer 1:1. The D1 Pro focuses a diode spot near 0.06-0.08 mm; the F1 (diode + infrared) works on an 80×80 mm bed and its IR module engraves metals without coatings; the P2 is a 55 W CO2 machine with a ~0.1 mm spot and a 600×308 mm bed with autofocus and dual cameras. Working area is the constraint that bites first: artwork wider than the usable bed needs splitting or tiling, and XCS flags oversize geometry at import.

Material settings also diverge. Diode machines engrave coated metals slowly at high power; the P2's CO2 tube cuts acrylic cleanly at 20-30 mm/s where diodes only etch the surface. Keep a per-machine settings library — XCS stores material presets per device, so an .xcs project built for the D1 Pro opens on the P2 with power and speed values that are simply wrong. Re-test rather than inherit.

How Do You Fix Common xTool Import Failures?

The failure modes are predictable. SVGs with non-standard namespaces, embedded JavaScript, or CSS-referenced fonts fail silently or render blank — open the file in a text editor and strip any <script> tags, then re-save as Plain SVG. Live text that was never converted to outlines disappears on import, exactly as it does in Glowforge: run Path → Object to Path (Inkscape) or Type → Create Outlines (Illustrator) before export. Compound paths that retain a fill from one sub-path engrave as a solid slab when you wanted cut lines — inspect in outline display mode.

Node bloat is the quiet performance killer. Auto-traced artwork routinely carries 10,000+ nodes, which slows XCS's preview and can stutter real-time job streaming. Run Path → Simplify with a 1-2% tolerance; a 50-70% node reduction usually preserves the visible curve. Close open paths before cutting — an open stroke cuts fine but wastes a return travel move. Finally, delete construction geometry: XCS processes every visible element, and leftover guide rectangles become surprise engraves.

For upstream preparation, the Glowforge SVG requirements guide covers the same stroke/fill semantics in depth, and the laser cutting file optimization guide handles node reduction and path cleaning across machines. If your source art is a photo or scanned logo, vectorize it with the JPG to SVG converter before it ever reaches XCS.

Frequently asked questions

What file formats does xTool Creative Space support?

XCS imports SVG, DXF, PDF, JPG, PNG, and AI files, plus its native .xcs project format. Vector formats (SVG, DXF, PDF) carry cut and score lines; raster formats (JPG, PNG) are processed as engrave layers. For cleanest results, use plain SVG without embedded scripts or live text, and convert all text to paths before exporting from Illustrator or Inkscape.

Why does my SVG import at the wrong size in XCS?

The size shift almost always comes from a DPI mismatch between your design app and the SVG spec. Illustrator exports SVG geometry at 72 px per inch while Inkscape and XCS treat 96 px per inch as the baseline, so a 100 mm design from Illustrator lands at 133.3 mm. Set your document units to millimeters and verify the imported bounding box against your intended dimensions before running any job.

How much kerf should I compensate for on an xTool D1 Pro?

A D1 Pro cuts a kerf of roughly 0.12-0.18 mm in 3 mm plywood and about 0.10-0.14 mm in acrylic. Offset each path by half the measured kerf: outward on interior holes where a bolt must pass through, inward on male tabs that slot into those holes. Measure kerf by cutting a 20 mm test square and calipering the result rather than trusting published spot sizes.

Can XCS assign different laser operations by color?

Yes. XCS groups imported vector geometry into layers keyed by stroke color, and each layer can be assigned its own process — Cut, Score, Engrave, or Ignore — with independent power, speed, and pass counts. Export your artwork with dedicated colors per operation, for example red for cut, blue for score, and black fill for engrave, then verify the layer list in XCS before focusing the laser.

Does the xTool P2 use the same SVG workflow as the D1 Pro?

The file pipeline is identical — both machines run XCS and accept the same SVG, DXF, PDF, and raster imports. The differences are optical and material: the P2 is a 55 W CO2 machine with a ~0.1 mm spot and a 600×308 mm bed, while the D1 Pro is a diode machine with a 0.06-0.08 mm spot and a 432×406 mm bed. Re-run power and speed tests when moving a job between the two.

Sources

Convert files for this workflow

Try it on your own file

Drop in an image or an SVG and see the result before you pay. No signup is required to preview.