image2surface

image2surface

Description

Thundercats! Thundercats! Thundercats! HO!!! I wrote this script for the sole purpose of making a thundercats stamp, but my prints always sink in on the top layer so it only stamps a patchy outline. Sigh... This is a Python script that takes an image and turns it into something like a relief or a stamp. Sorry, it's not magic; it doesn't just convert any 2d image to 3d. It would have no way of knowing what should be popping up out of the image. That being said, sometimes it does work like that, and sometimes you just need to do a little editing first. It treats white as the baseline and any color in between white and black should be raised up a height corresponding to the difference from white. Specifying -i (inverse) will treat black as the baseline instead. The latest code will always be here (it will always be a work in progress): https://github.com/brad/image2surface Caveats: -At the moment, I haven't been able to make anything with an image over 200x200 pixels. Anything larger and OpenSCAD crashes when rendering the STL. -I don't know if this will work with CMYK images, I have only tested with RGB and RGBA.

Statistics

Likes

131

Downloads

3905

Category

2D Art