STL to heightmap & relief
Turn a 3D model into a 16-bit grayscale depth map for CNC carving, or into a bas-relief STL with the depth and base plate you choose. Pick the view — top, front, side or back. It runs in your browser: the file is never uploaded.
Drop a 3D model here, or click to choose
STL · OBJ · PLY · 3MF · GLB 🔒 Processed locally — the file never leaves your computerHeightmap or relief?
Heightmap for CNC
A 16-bit grayscale PNG: white is high, black is low. Import it into Vectric Aspire or VCarve, Carveco, Fusion or another CAM program as a texture or relief, and carve it in wood, wax or foam.
Relief STL
A closed solid of the depth map: set the width, how deep the relief is and how thick the base plate is. 3D print it as a plaque or a lithophane-style panel, or use it as a CAD body.
Pick the view
Top for terrain, coins and logos; front for faces, busts and figures; or any side. Only what you can see from that side becomes part of the relief.
Next steps
Need outlines instead of heights? Use STL to DXF & SVG. Need the relief as editable CAD surfaces? Try STL to STEP.
How it works
The model is projected straight onto a grid of pixels from the chosen side, like an orthographic camera. For every pixel the tool keeps the surface closest to you — the same depth buffer a 3D game uses — so nothing hidden behind the front surface gets in.
The depth range of the visible model is spread over all 65,536 grey levels of a 16-bit PNG, and the pixel size is written into the file. For the relief STL, the same depth is scaled to the relief height you choose, the background becomes the flat base, and the sides and bottom are closed so the result is a printable solid.
FAQ
Is my file uploaded?
No. The model is read and rendered entirely in your browser; the file never leaves your computer.
Why a 16-bit PNG?
An ordinary 8-bit image has only 256 grey levels, so a relief carved from it shows visible steps. A 16-bit PNG has 65,536 levels, which CNC programs such as Vectric Aspire and VCarve, Carveco and Fusion can use for smooth surfaces. The file also stores its pixel size, so the real width comes through.
What do the grey levels mean?
White is the part of the model closest to you in the chosen view, black is the lowest visible surface and the background. Tick Invert if your program expects black to be high.
What is the relief STL?
The same depth map as a closed solid: the model's depth squeezed into the relief height you choose, on a base plate of the thickness you choose, at the width you set. You can 3D print it, carve it, or open it in CAD.
Does it keep undercuts?
No. A heightmap stores one height per point, so anything hidden behind the front surface in the chosen view is left out. That is exactly what a 3-axis CNC can carve.