TexHouse Plain comparisons of 3D printing and maker tools

How to prepare files for toolpaths for CNC hobbyists

A step-by-step guide for CNC hobbyists to prepare artwork for toolpaths, from sizing and tracing to clean export and test cuts.

By TexHouse ยท

TexHouse is published by the makers of LunarWerx 3D Print and VectorMagik, which are compared here alongside other tools.

Preparing files for toolpaths means sizing the artwork to the real part, turning pictures into clean vector paths, removing stray shapes, and exporting a format your CNC control software can read. Test the file on scrap material before the real cut.

OptionWhat it doesFee
VectorMagik desktop downloadsTraces pictures into vector shapes and exports SVG, PDF, EPS, AI, DXF, EMF or PNG [1] [1]Free for everyone; business use needs a licence [1]
VectorMagik browser versionRuns in a web browser using the same engine [1]Not published separately
VectorMagik command-line versionDoes the same work without a window and lets an AI assistant trace pictures on your computer [1]Not published separately

What you need before you start

Before you prepare files for toolpaths, have the artwork or drawing you plan to cut, and know the real size the finished part must be. Write down the material thickness, the bit diameter and the working area of your machine, because those numbers decide how far a path can reach and how deep it cuts.

Have a vector file format ready for export, such as SVG, DXF or PDF, and know which format your CNC control software reads. A simple check is to open the exported file in that software before a real job. Keep the original artwork in its own folder so you can go back to it if a path comes out wrong. A plain text file or notebook for the settings you used helps too, so the next job starts from values you already know.

Step by step

  1. Start with a clean source. Pick the largest and sharpest version of the artwork you have. Crop away margins and any text you do not plan to cut.
  1. Set the real size. Scale the file to the exact dimensions of the finished part, in the units your machine uses, before doing anything else. Check the units against a measurement you already know.
  1. Turn pictures into vector paths. If the artwork is a photo or a scanned image, trace it into vector shapes so the cutter follows clean lines rather than pixel edges. Compare the traced result with the original at full size.
  1. Remove unwanted shapes. Delete background areas, stray specks and duplicate outlines. Keep one closed path for each cut so the machine does not cut the same line twice.
  1. Simplify the curves. Reduce the number of points along smooth curves until the shape still matches the design and the toolpath runs smoothly. Check corners afterwards so they stay sharp where the design needs them.
  1. Decide the cut order and offset. Mark which edges are inside cuts and which are outside cuts, and note where the centre of the bit should sit relative to each line.
  1. Export in the format your CNC software reads. Save the file, then reopen it in the control software to confirm that the paths, sizes and positions match what you drew.
  1. Run a test cut. Cut a scrap piece of the same material and measure it against the design. If the fit is off, adjust the file first, then the machine settings.

Tools that can do it

Several kinds of tools can help with these steps. Several kinds of tools can help with these steps. Check each one's own published licence and fees before you choose.

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] You can click shapes to delete them, such as a background, or merge two shades into one. [1] A tolerance slider merges neighbouring curve pieces into a simpler outline, and Auto picks the largest tolerance that keeps the picture. [1] You can move or delete the points on the outline and round individual corners after converting. [1]

You can compare the traced shapes with the original picture side by side. [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]

Free for everyone; business use needs a licence (PolyForm Noncommercial 1.0.0). [1] It is licensed under PolyForm Noncommercial 1.0.0. [1]

Common mistakes to avoid

Skipping the real size check is a common mistake. A file scaled by eye can be too large or too small for the part, and the cut will show it. Set the size in the units your machine uses before anything else.

Cutting straight from a traced picture is another mistake. Traced edges often carry stray points and tiny shapes that the cutter will follow. Remove background areas and specks first, then check the result at full size.

Leaving too many points on smooth curves makes the toolpath slow and jumpy. Simplify the curves until the shape still matches the design, and check corners afterwards.

Skipping the test cut is a mistake. A file can look right on screen and still cut the wrong size once the material and bit are involved. Cut a scrap piece first and measure it against the design.

Changing machine settings to fix a file problem is also a mistake. If the shape is wrong in the file, fix the file and rerun the job so the fix is easy to repeat.

Frequently asked questions

How do you prepare a photo for CNC toolpaths?

Start with the sharpest copy you have and crop it to the part you want to cut. Trace the picture into vector paths so the cutter follows clean edges instead of pixels. Set the real size, remove background shapes, simplify the curves, and export a file your control software can read. Test the result on scrap material before a real job, and measure the cut against the design to see whether the fit is right.

Can VectorMagik export files for a CNC job?

VectorMagik can save the result as SVG, PDF, EPS, AI, DXF, EMF or PNG, so you can pick the format your control software reads. [1] Before exporting, you can click shapes to delete them, such as a background. [1] After exporting, open the file in the control software and check the size and position against your design before a real cut.

Is VectorMagik free to use?

VectorMagik is free for everyone, and business use needs a licence. [1] It is licensed under PolyForm Noncommercial 1.0.0. [1] The licence is PolyForm Noncommercial 1.0.0, and business use needs a licence. [1] Check the licence text itself for the exact terms, and do not rely on this page for them.

Does VectorMagik have a version for the browser or the command line?

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] Downloads exist for Windows, Mac and Linux computers, plus a browser version. [1] Choose the version that matches the computer you work from, and check the download list for the platform you need.

How many colours can VectorMagik trace into one file?

You can limit the result to between 1 and 64 colours. [1] A smaller colour count gives a simpler picture, which is easier to check by eye before you cut. Compare the traced shapes with the original picture side by side before you export. [1] Match the colour count to the cut you plan to make.

Free for personal and non-commercial use; business use needs a licence (PolyForm Noncommercial 1.0.0). [1]

Try VectorMagik

Sources

  1. VectorMagik's own description of itself (the product of this site's publisher)

Related comparisons