image2surface

image2surface

thingiverse

This Python script turns an image into a relief or stamp-like surface using the color values of the image as height information in OpenSCAD. White is treated as baseline, with colors in between white and black raised proportionally to their distance from white. The -i option reverses this, treating black as the baseline. Exporting to .scad or .stl is possible, with optional parameters for maximum size, z-height, and removing the base layer. Tested with RGB and RGBA images, but CMYK may not work. OpenSCAD crashes with images over 200x200 pixels. Usage examples include generating a thundercats logo or bathroom signs from modified images, or creating a shotglass directly from an image using the -i, -r, -z, -d, and -o options. The latest code is available on GitHub.

Download Model from thingiverse

With this file you will be able to print image2surface with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on image2surface.