How Photo V-Carving Works
A V-bit cuts a groove whose width grows with depth. Run the bit along evenly spaced lines, go deeper where the picture is dark and shallower where it is light, and the rows of grooves form a halftone image, much like the lines of an old engraving.
This generator reads the image along each line, turns brightness into a depth between your min and max depth, and writes straight G1 moves that change Z as they go. Points on the same straight 3D line are merged, so flat or evenly sloping stretches become one move and the file stays small without changing the path.
The Formulas
Worked Example
- tan(60° ÷ 2) = tan 30° = 0.5774, so d_max = 1.0 ÷ (2 × 0.5774) = 1.0 ÷ 1.1547 = 0.866 mm.
- Check: at 0.866 mm the groove is 2 × 0.866 × 0.5774 = 1.00 mm wide, the same as the spacing.
- A 50 % grey pixel (128 out of 255) with min depth 0: dark = 1 − 128 ÷ 255 = 0.498, depth = 0.498 × 0.866 = 0.431 mm, groove = 2 × 0.431 × 0.5774 = 0.50 mm, so half the surface is cut away and it reads as mid grey.
- Lines: the first is 0.5 mm up, then every 1.0 mm, giving 100 lines. Each has 150 ÷ 0.3 + 1 = 501 samples, so 50,100 points in all, well under the 400,000-point limit.
- Time for an all-grey picture: 100 × 150 mm = 15,000 mm of cutting at 1500 mm/min = 10.0 minutes, plus about 0.6 minutes of plunges and rapids, so roughly 10.6 minutes before acceleration losses. White areas that are lifted over shorten it.
Choosing and Preparing the Image
- Strong, simple pictures carve best. Close-up portraits, pets, and buildings against the sky work well; busy landscapes and low-contrast snapshots turn to mush at 1 mm lines.
- Crop tight so the subject fills the frame, and remove a cluttered background if you can.
- Boost contrast a little (10 to 30) and use gamma to recover faces that come out too dark. Check the preview after each change.
- Size against spacing: the detail you get is about one line spacing. At 1 mm spacing a 150 mm portrait has about 150 lines across it; halve the spacing (and depth) for fine detail on a small piece.
- Line direction: horizontal is the usual choice; diagonal lines hide wood grain that runs along the board and look less like a scan pattern.
Material, Feeds and Setup
- Light, even hardwoods such as maple, beech or good birch plywood give contrast from the shadow in the grooves. Avoid strong grain such as oak or pine knots, which fight the picture.
- MDF painted black, then sanded or surfaced after carving shows the light core in the grooves and gives very strong contrast. Turn on Invert if you want dark parts of the photo to stay dark on a black top: then light areas cut deepest.
- Acrylic with paint fill: carve, flood the grooves with paint, then sand or scrape the top back. Cast acrylic machines more cleanly than extruded.
- Feeds (rule of thumb): photo cuts are shallow, so a hobby router can run a carbide V-bit at a moderate feed, typically 1000 to 2500 mm/min at 16,000 to 20,000 rpm, plunge 300 to 600 mm/min. Small 3018-class machines usually need slower feeds, often 300 to 800 mm/min. Start low and test on scrap; the CNC router feeds & speeds calculator helps with chip load.
- Flatness matters more than anything: grooves are only tenths of a millimetre deep, so a board that is 0.3 mm out of flat fades out on one side. Surface the spoilboard and the board first, clamp it flat, and set Z0 on the top in the middle.
- Safety: wear eye and hearing protection, use dust extraction (MDF dust is harmful), never leave a long job running unattended, and keep your hand off the hold-down clamps' path. Do an air cut first, with Z0 set above the stock.
Related Tools and How They Differ
- G-Code Engraving Generator: engraves text and serial numbers with a stick font at one depth, not photos.
- Image to DXF Converter: traces a picture into outlines for CAD/CAM or cutting shapes; it does not make depth-varying toolpaths.
- Image to Lithophane: turns a photo into a 3D-printed panel that shows the picture when lit from behind.
- Image to Laser G-Code: varies laser power instead of depth, for engraving photos with a diode or CO2 laser.
- G-Code Viewer & Simulator: open the downloaded file to check the toolpath and limits.
Frequently Asked Questions
Feeds, speeds and material notes are typical starting values and rules of thumb, not data for your machine. The preview is a simulation, and the run time is an estimate. Check the G-code in a viewer, air-cut first, and keep your hand near the stop button.