How to clean scanned part drawings for reverse engineering
A step-by-step guide to cleaning scanned part drawings for reverse engineering, with tool options and common mistakes to avoid.
TexHouse is published by the makers of LunarWerx 3D Print and VectorMagik, which are compared here alongside other tools.
Cleaning a scanned part drawing means straightening the scan, removing the background and stray marks, and turning the lines into clean geometry you can measure. Clean lines make the rebuild easier to check. VectorMagik is a tool that traces pictures into vector shapes. [1]
| Option | What it does | Fee |
|---|---|---|
| VectorMagik | Traces a picture into vector shapes using its own engine, and exports to SVG, PDF, EPS, AI, DXF, EMF or PNG [1] [1] | Free for everyone; business use needs a licence under the PolyForm Noncommercial 1.0.0 licence. [1] |
| Other tools | Check each tool's own page for what it traces and exports | Check each tool's own page before you choose |
What you need before you start
Start with the best copy of the drawing you can get, because a faded or skewed scan makes every later step slower. Keep the original paper or file if you have it, and note which dimensions, views and notes matter for your rebuild.
Decide the output you need before you begin, such as a measurable outline for a CAD program, so you know how clean the lines must be. Have a CAD or drawing program ready that opens vector files, and a way to measure on screen.
A notebook or text file helps too, since it records each known dimension you check against the scan. Finally, set aside time for small adjustments. Scanned drawings rarely come out right on the first pass.
Step by step
The steps below work with most drawings, though the order may shift for a very dirty scan.
- Check the scan. Look for skew, uneven lighting, folds and stray marks, and fix the worst ones before you trace anything.
- Straighten and crop. Rotate the image so the drawing lines run square to the edges, and crop away the paper border.
- Lift the lines from the background. Raise the contrast until the drawing lines are dark and the paper is light, and remove spots that are not part of the drawing.
- Separate the parts you need. Keep the outlines, holes and centre lines you will measure, and set aside hatching, text and grid lines.
- Convert the lines to vector shapes. Trace the cleaned image so each line becomes an editable path rather than a field of pixels.
- Tidy the paths. Remove tiny fragments, close gaps in outlines, and round corners only where the real part has rounded corners.
- Check against a known dimension. Measure one feature that you know from the real part or a printed dimension, and compare it with the same feature in the vector file.
- Export in a format your CAD program reads, and keep the original scan with the file for reference.
If a later check shows a missing or doubled line, go back to the cleaning step. Small problems in the trace are easier to fix early.
Tools that can do it
VectorMagik is made by the team that publishes this site. It turns a scanned picture into clean vector lines you can cut or edit. [1] A slider merges neighbouring curve pieces, and an Auto setting picks the largest merge that still keeps the picture. [1] You can limit the result to between 1 and 64 colours. [1] After converting, you can move or delete curve nodes and round individual corners. [1] You can click shapes to delete them, such as a background, or merge two shades into one. [1] To check the trace, you can compare the vector with the bitmap side by side, or flip between them with the B and V keys. [1] You can save the result as SVG, PDF, EPS, AI, DXF, EMF or PNG. [1] Downloads exist for Windows x64, macOS on Apple Silicon and Intel, and Linux x64, and a browser version runs the same engine in a web browser. [1] [1] You get a download for Windows, Mac or Linux, from the project's release page on GitHub, the code hosting site. [1] A command-line version does the same work without a window, for people who prefer typing commands. [1]
Other tools can do parts of this job too. Check each one's own page for what it traces, which formats it exports and what it costs before you choose.
Common mistakes to avoid
Skipping the straightening step is a mistake. A skewed trace makes every measurement off, and the error often hides until the rebuilt part fails to fit. Straighten first.
Tracing a dim or stained scan without cleaning it first leaves stray shapes that take longer to remove than the cleaning would have. Clean the image before you convert it.
Keeping the dimension text in the outline is another common error. Text traced as shapes can end up in the CAD file as geometry you did not intend. Separate it first.
Trusting a trace without checking a known feature is a mistake. Compare one feature with a real measurement before you rebuild the rest.
Using a tool's output at work without reading its licence is also a mistake. VectorMagik is free for everyone, but business use needs a licence. [1] It is licensed under PolyForm Noncommercial 1.0.0. [1]
Frequently asked questions
Can VectorMagik turn a scanned part drawing into vector lines?
VectorMagik traces a picture into vector shapes using its own engine. [1] Before you trace, straighten the scan and lift the lines from the background, because a clean input gives a cleaner outline. After tracing, you can move or delete curve nodes and round individual corners. [1] Check one known dimension against the vector before you rebuild the part.
Is VectorMagik free to use for reverse engineering work?
VectorMagik is free for everyone, but business use needs a licence. [1] It is licensed under PolyForm Noncommercial 1.0.0. [1] Read that licence text before you start, especially if the rebuilt part is for a company or a paid job. Keep a copy of the terms with the project files so the terms are easy to find later.
Does VectorMagik export to DXF for CAD programs?
Yes, VectorMagik can save the result as SVG, PDF, EPS, AI, DXF, EMF or PNG. [1] DXF is a common format for exchanging 2D outlines with CAD programs, so choose it when the next step is a CAD model. Open the file in your CAD program once and check the scale and layer names, because they can differ from the original drawing. Keep the original scan beside the export for reference.
How does VectorMagik remove the background from a scanned drawing?
You can click shapes to delete them, such as a background, or merge two shades into one. [1] Select the background shape and delete it, then check that no drawing lines went with it. Merging two shades can tidy a grey area that should be one colour. You can also limit the result to between 1 and 64 colours, and keeping the count low makes the background easier to pick and delete. [1]
Can VectorMagik run on Linux or macOS?
Downloads exist for Windows x64, macOS on Apple Silicon and Intel, and Linux x64. [1] A browser version runs the same engine in a web browser. [1] Installers come as a Windows installer, a portable zip, a macOS zip, a Debian/Ubuntu .deb or a Linux tar.gz. [1] Choose the one that matches your computer.
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