How to trace artwork into DXF for toner transfer circuit boards
A step-by-step guide to turning artwork into a DXF for toner transfer circuit boards, with what to prepare and the mistakes that waste an etch.
TexHouse is published by the makers of LunarWerx 3D Print and VectorMagik, which are compared here alongside other tools.
Trace from a flat scan, cut the image to two tones, convert it to vector shapes, set the real board size in millimetres and export a DXF. VectorMagik traces a picture into vector shapes using its own engine [1] and can save the result as a DXF alongside other formats [1]. Open the file in your PCB layout software and check it at true size before etching.
| Option | What it does | Fee |
|---|---|---|
| VectorMagik desktop app | Traces a picture into vector shapes using its own engine [1]. Saves the result as SVG, PDF, EPS, AI, DXF, EMF or PNG [1]. | Free for everyone; business use needs a licence (PolyForm Noncommercial 1.0.0) [1] |
| VectorMagik in the browser | A version runs in the web browser using the same engine [1]. | Free for everyone; business use needs a licence (PolyForm Noncommercial 1.0.0) [1] |
What you need before you start
Before tracing artwork into a DXF, gather the source image, the finished board size and somewhere to check the result.
Get the artwork at the largest and sharpest size you have, as a bitmap file such as a PNG. A scan made flat on the glass, or a photo taken straight on, keeps tracks and pads square; a photo taken at an angle bends them.
Write the finished board size down in millimetres. A traced DXF carries no idea of how large the board should be, and a file that lands at the wrong scale wastes an etch.
Decide which tone is copper and which is bare board. If the original is a paper printout, scan it in greyscale at the highest resolution the scanner offers, so the edges stay clean.
Have a program that opens a DXF, such as your PCB layout software or a CAD viewer, and a printer that can hold true size.
Keep a folder per attempt, because a trace usually takes a few passes before the thin tracks survive.
Step by step
- Get the artwork flat. Crop the scan or photo to the board outline and straighten it, so the tracks run level. Anything tilted in the source comes out tilted in the DXF.
- Cut the tones down to two. Use the threshold or levels control in an image editor to push every pixel either black or white. Grey edges left by a scan become double outlines once traced.
- Trace the bitmap. Run your tracing tool on the two-tone image and keep the preview beside the original. Thin tracks are the first thing to disappear, so watch them first.
- Simplify the curves. Raise the tolerance until the file follows the artwork with clean lines instead of tracing every pixel step, then look again at the thinnest track and the smallest pad. Stop before they close up or round off.
- Limit the colours. A board usually needs two flat tones, copper and gap, and a few more help when the artwork carries grey areas or a legend. Extra tones split one flat area into many shapes.
- Delete what is not copper. Remove stray specks, scan lines and the page background, and merge shades that should be one tone so the copper becomes a single shape.
- Fix nodes and corners. Delete nodes that add nothing, straighten lines that should be straight, and round a corner only where the artwork has a round corner.
- Set the real size. Scale the trace until a distance you know, such as the spacing between two pads, matches its measurement in millimetres. Then measure a second distance a long way from the first to catch a stretched scan.
- Export the DXF and open it. Load the file in your PCB layout software and check tracks, pads and clearances there rather than in the tracing preview. Move the board onto the grid if the pads sit off it.
- Mirror and print at true size. If your transfer process prints the copper reversed, mirror the file in the layout software. Print with scaling turned off, on the paper or film your process uses, and compare the print to the original with a straight edge.
Tools that can do it
Several tools can help with parts of the tracing process. The table compares two ways to run VectorMagik; for any other tracer, check its own documentation for DXF export, the licence terms and what the fee covers, because no sourced facts on other tracers were available when this page was written.
VectorMagik is made by the team that publishes this site. It traces a picture into vector shapes using its own engine. [1] You can save the result as SVG, PDF, EPS, AI, DXF, EMF or PNG. [1]
A tolerance slider merges neighbouring curve pieces, and Auto picks the largest tolerance that keeps the picture. [1]
You can limit the result to between 1 and 64 colours [1], which keeps copper and gap as flat areas instead of a drift of grey shapes. You can click shapes to delete them, such as a background, or merge two shades into one. [1] You can move or delete curve nodes and round individual corners after converting. [1]
You can compare the vector with the bitmap side by side, or flip between them with B and V keys. [1]
A command-line version does the same work without a window and lets an AI assistant trace pictures on your computer. [1] A version runs in the web browser using the same engine. [1]
Downloads exist for Windows x64, macOS (Apple Silicon and Intel), Linux x64, plus a browser version. [1] It installs with a Windows installer, a portable zip, a macOS zip, a Debian/Ubuntu .deb or a Linux tar.gz, all from GitHub releases. [1] It is licensed under PolyForm Noncommercial 1.0.0. [1] The app is free for everyone, and business use needs a licence. [1]
Common mistakes to avoid
Mistakes in this job tend to show up on the etched board, after the work is done.
Tracing a photo taken at an angle is the most common one. Lines that should meet square come out bent, and no tolerance setting puts them back.
Leaving grey anti-aliased edges on the bitmap puts a ring around every track once it is traced. Threshold the image to two tones first, then trace.
Keeping the first tolerance setting gives either a jagged file that follows every pixel or a file where thin tracks have closed up. Move the slider and re-check the thin tracks before exporting.
Skipping the size check wastes a board. A stretched scan can measure right at one end and short at the other, so measure two distances far apart.
Printing with fit to page or any scaling switched on shrinks the artwork. Print at true size and measure the print against the original.
Etching without opening the DXF in your layout software misses clearance problems. Check the gaps between tracks there before the board goes in the tank.
Frequently asked questions
How does VectorMagik turn a scanned layout into a DXF?
It traces a picture into vector shapes using its own engine. [1] You can save the result as SVG, PDF, EPS, AI, DXF, EMF or PNG. [1] A tolerance slider merges neighbouring curve pieces, and Auto picks the largest tolerance that keeps the picture. [1] Start from a flat scan or a straight-on photo, because the tracer follows any bend in the source.
Can VectorMagik keep a traced board to two flat tones?
You can limit the result to between 1 and 64 colours [1], which is enough to hold copper and gaps as separate flat areas, or to keep a few grey tones for a legend. You can click shapes to delete them, such as a background, or merge two shades into one. [1] Re-check the thinnest track after each change.
Is VectorMagik free for a paid circuit board job?
It is licensed under PolyForm Noncommercial 1.0.0. [1] The app is free for everyone, and business use needs a licence. [1] Read the licence text before selling boards or taking paid work, because the terms that matter for a paid job are set there.
What does VectorMagik run on?
Downloads exist for Windows x64, macOS (Apple Silicon and Intel), Linux x64, plus a browser version. [1] It installs with a Windows installer, a portable zip, a macOS zip, a Debian/Ubuntu .deb or a Linux tar.gz, all from GitHub releases. [1] A version runs in the web browser using the same engine. [1] A command-line version does the same work without a window and lets an AI assistant trace pictures on your computer. [1]
How do you check a traced DXF is the right size before etching?
Scale the trace until a known distance between two pads matches its measurement in millimetres, then measure a second distance far from the first. Open the file in your PCB layout software and check tracks, pads and clearances there. Comparing the vector with the bitmap side by side, or flipping between them with B and V keys, helps inspect the traced artwork. [1]
Free for personal and non-commercial use; business use needs a licence (PolyForm Noncommercial 1.0.0). [1]
Try VectorMagikSources
Related comparisons
- Adding alignment pegs to wearable armor parts
- How to Add Bridges for Metal Wall Art Cutouts
- How to add clean outlines to names and ornament shapes
- How to Add Internal Pegs for Strong Cosplay Weapon Joints
- How to add magnet holes to modular wargame terrain pieces
- How to Add Snap-Fit Lid Geometry to an Enclosure
- Adjust basic 3D printer settings in 2026
- How to adjust infill to change buoyancy for fishing lure makers
- Adjust Layer Height for Easier Sanding in 2026
- Adjust Wall Thickness for Load-Bearing Parts in 2026