Flatbed scan to CAD: trace a flat cover plate with the right scale and hole positions
By Sina Esfahani, OmniTechs · Published 30 November 2026
Yes, a flatbed scanner is a good way to copy a flat cover plate with an awkward outline. It looks at the face on the glass from a fixed, short distance, so there is far less perspective to deal with than in a phone photo. But a scan is not automatically to scale. The scanner can stretch one direction slightly, and CAD programs often import the image at the wrong size. So put a ruler in the scan, set the scale from it, check the other direction, and prove the result on paper before you print plastic.
Start with what you have: lay the plate face down on the glass with a steel ruler along each edge, and make one test scan at 600 dpi.
Work in this order:
Measure thickness, hole diameters and overall width and height with a calliper. The scan only gives you the shape.
Scan face down at 600 dpi, saved as PNG or TIFF, with a steel ruler along the long and the short side.
Insert the scan in CAD and calibrate it over the longest ruler span you can, for example 130 mm.
Measure the other ruler. If it is off, correct that direction separately.
Trace the outline with lines and arcs; place each hole at its centre with the calliper diameter.
Print the sketch 1:1 on paper with a 50 mm check square and hold it against the product.
Print a thin test plate of about 0.6 mm, try the real screws, then print the final part.
Is a flatbed scan the right tool for your plate?
The scan records one face in one plane. That suits a plate whose important features lie in that plane: the outline and the holes. Anything above or below the glass has to be measured.
When a flatbed scan works and when to measure instead
| Your plate | Flatbed scan? | What to do |
|---|---|---|
| Flat, any outline, through holes | Yes, the ideal case | Follow this guide |
| Ribs, bosses or a lip on the back | Yes, for outline and holes | Measure heights with a calliper |
| Countersunk holes, steps, chamfered edge | Partly | Take centres from the scan; measure diameters and depths |
| Warped or cracked original | With care | Weigh it flat while scanning; trust the product's screw holes over the old plate |
| Curved or domed panel | No | Measure it instead, or use a 3D scan |
People asking about this on Reddit and the Prusa forum kept hitting the same two problems: proving that the scan is really full size, and copying an original that has warped. Both are covered below.
Scan settings: what dpi means for your measurements
Dpi (dots per inch) is the number of pixels the scanner records per inch of glass. One inch is exactly 25.4 mm (NIST), so one pixel is 25.4 mm divided by the dpi.
Pixel size and image width at common scan resolutions
| Scan resolution | One pixel is | A 150 mm wide area becomes |
|---|---|---|
| 300 dpi | 0.085 mm | 1,772 pixels |
| 600 dpi | 0.042 mm | 3,543 pixels |
| 1200 dpi | 0.021 mm | 7,087 pixels |
600 dpi is a sensible start. A 0.042 mm pixel is far finer than you can click on reliably in CAD, and the file stays manageable. Going higher adds file size, not accuracy: the errors that matter come from the scanner's mechanics and your clicks. Stay at or below the optical resolution in the scanner's specifications; Epson's technical brief explains that higher settings are interpolated, with pixels calculated from their neighbours.
Keep the scale at 100% and switch off automatic cropping or straightening if your scan software has them, so the rulers stay exactly as scanned.
Save as PNG or TIFF. JPEG compresses with loss, which can soften edges.
Put the face that sits against the product on the glass. Its outline and holes are the ones that matter.
Lay steel rulers flat on the glass, so they lie in the same plane as the plate face. A ruler resting on top of the plate is at the wrong height.
Cover with contrasting paper: white over a dark plate, black over a light one.
Check the scanner in both directions
A flatbed measures its two directions differently. Across the glass, a row of sensors reads a whole line at once. Along the glass, a motor moves that row step by step. The two do not have to agree.
Research confirms it. In a 2019 study, an Epson Perfection V39 stretched its image along the scan movement by up to 0.179 mm over a 50 mm dot grid, while the sensor direction behaved differently (Blanco and others). A 2017 study of another flatbed found periodic errors of 0.03 to 0.05 mm along the movement, which the authors linked to the belt drive, and none noticeable along the sensor (Wyatt and Nave). Yours may be better or worse, so check it.
Calibrate on the long ruler over the longest span you can read, for example from the 10 mm to the 140 mm mark.
Measure the short ruler between two marks, for example 10 mm and 90 mm.
Repeat that measurement three times. The spread between readings is your clicking accuracy.
If the short ruler is off by more than that spread, scale that direction on its own.
Use long spans. At 600 dpi, two calibration clicks that are each 2 pixels off in opposite directions add up to 0.17 mm. Over 130 mm that is a 0.13% scale error, or 0.16 mm across a 120 mm plate. Over a 20 mm span the same clicks give 0.85%, about 1 mm across the plate.
Bring the scan into CAD at the right scale
Never trust the size the image arrives at. FreeCAD, for example, sizes a new image plane as if it had 96 pixels per inch, so a 600 dpi scan arrives 6.25 times too large.
Where to set the scale
| Software | Insert and calibrate | Correct one direction |
|---|---|---|
| Autodesk Fusion | Insert > Canvas. In the Browser, open Canvases, right-click the image, choose Calibrate, pick two points and type the distance | The Canvas dialog has separate Scale X and Scale Y fields |
| FreeCAD | File > Import... creates an Image Plane. Double-click it, press Calibrate in the Image plane settings, pick two points and enter the dimension | Uncheck Keep aspect ratio, then enter Width and Height |
| Inkscape | Path > Trace Bitmap with Brightness cutoff turns a dark plate on a light background into a path | Scale the path in CAD until its width matches your calliper, then check the height |
In Fusion, Autodesk suggests lowering the canvas opacity and switching on Display Through so you can sketch on top of the image. In FreeCAD, give the image plane a small negative offset, such as -0.1 mm, so you draw just in front of it.
Inkscape needs extra care. Its Beginners' Guide warns that a trace is never a faithful copy of the image. Use the trace for the outline only, and set the scale from your calliper rather than from the size Inkscape gives the image.
This Fusion tutorial starts from a photo, so skip its part on parallax. From 4:30 it shows inserting the image, an aspect-ratio problem and its fix, Calibrate Canvas, and tracing with lines and three-point arcs:
Trace the outline and the hole centres
Draw the plate; do not copy the pixels. Straight edges become lines and rounded corners become arcs. Keep splines for outlines that really are freeform. Clean geometry is easier to adjust after the paper test.
Holes need their own method:
Diameter from the calliper. In a scan, a hole's edge is a soft, shadowed ring.
Centre from the scan. Draw a circle that follows the hole edge and keep only its centre point.
Your own circle at that centre, with the measured diameter.
Spacing check. For two equal holes, measure from the outside edge of one to the outside edge of the other and subtract one diameter. That is the centre distance; compare it with the sketch.
Then add what the scan cannot see: the thickness, countersinks, a lip or ribs.
A scan of the back comes out as a mirror image of the front, so flip it before lining it up; Fusion's Canvas dialog has Horizontal Flip and Vertical Flip. Copying a left or right part from its partner is a different job: see mirroring a missing left or right part.
Worked example (hypothetical)
A device has lost the cover plate of its battery compartment. You have the old plate: about 120 × 80 mm with four holes. All numbers are invented to show the method.
From scan to checked sketch (hypothetical figures)
| Step | Measurement or calculation | Result |
|---|---|---|
| Calliper | Thickness 2.00 mm, holes 3.40 mm, plate 120.10 × 80.20 mm | Recorded before scanning |
| Scan | 160 × 110 mm at 600 dpi: 160 ÷ 25.4 × 600 | 3,780 × 2,598 pixels |
| Import in FreeCAD | 3,780 ÷ 96 × 25.4 | 1,000 mm wide, 6.25 times too large |
| Calibrate | Long ruler, 10 to 140 mm mark set to 130 mm | Width direction correct |
| Check short ruler | 10 to 90 mm mark measures 80.24 mm | 0.24 ÷ 80 = 0.30% too long |
| Correct | Height × 80 ÷ 80.24 = height × 0.99701 | Short ruler reads 80.00 mm |
| Check the trace | 120.05 × 80.15 mm | Within 0.05 mm of the calliper |
| Hole spacing | Calliper 103.45 − 3.40 = 100.05 mm; sketch 100.02 mm | Agrees within 0.03 mm |
Without the correction, the top and bottom holes would sit 0.30% too far apart, about 0.2 mm on holes 70 mm apart: enough to make a screw bind in a hole with little play.
Prove it on paper, then in a thin print
A paper print costs nothing and tests the shape against the product itself, which beats testing it against a worn or warped original.
Draw a 50 × 50 mm square in the sketch, away from the plate.
Export the sketch at 1:1, for example as PDF or DXF, and print it with "fit to page" and any other scaling switched off.
Measure the square both ways. If it is not 50 mm, the printer or print dialog scaled it: fix the printing, not the model.
Cut out the outline and tape it to the product. A pin through each hole centre should land in the middle of each screw hole.
Then print a test plate about 0.6 mm thick (three layers of 0.2 mm). It is quick and lets you try the real screws. It passes when:
every screw goes in without pushing the plate sideways;
the outline sits where the old plate sat, without gaps or overlap;
any clip, lip or tab engages;
nothing touches neighbouring parts or cables.
Two print effects can mislead you. The first layers often spread, making the bottom edge slightly wider: see elephant's foot. Printed holes often come out smaller than drawn: tolerances and clearance covers how much play to add. Judge hole positions with the screws, not by how tight the holes feel.
If one hole misses, measure by how much on the test plate, move it in the sketch and reprint. If all holes miss in the same direction by a growing amount, the scale is still wrong in that direction: repeat the ruler check. On a large plate, a test section of just the hole area saves time.
Once the test plate fits, print the final plate at its measured thickness and fit it the way it will be used.
When a scan is not enough
Curved, domed or deep on both sides. A flat scan cannot capture it. Measure from reference faces as in measuring a replacement plastic part.
Badly warped or incomplete original. Take hole positions from the product's screw holes and check them with the paper template.
A safety job. A cover over mains electricity, a battery compartment that must stay shut or anything near heat needs the original part or the manufacturer's advice. A good fit says nothing about material, flammability or strength.
Two test prints miss at the same spot. The product differs from the scan there. Stop adjusting and measure that zone directly.
Related guides and a next step
New to CAD? Choosing CAD software for 3D printing compares the free options, and assessing a 3D-printed prototype helps you record what the test plate shows.
If you would rather not draw it yourself, the replacement parts page asks for photographs with a scale reference or calliper dimensions, and what the part belongs to. OmniTechs states there that the first assessment is free and that a test fit is printed first when the fit is critical. Your scan with the rulers in view and your calliper readings cover what it asks for.
Sources
NIST Guide to the SI, Appendix B.8: conversion factors (inch)
Wyatt and Nave (2017): Resolution and periodic errors of a flatbed scanner, Applied Optics
Autodesk Fusion help: How to import an image as an attached canvas
FreeCAD documentation: Image Workbench (tracing with an offset)
Prusa forum: advice for drafting an odd, asymmetric plate for a repair
Reddit r/3Dprinting: using a flatbed scanner for making accurate 3D prints

