image2surface

por polymaker

Archivos imprimibles (5)

  • stl

    womens.stl

    3.4 Mo · 1 249 descargas

    Descargar
  • stl

    mens.stl

    2.4 Mo · 1 210 descargas

    Descargar
  • stl

    thundercats.stl

    5 Mo · 1 246 descargas

    Descargar
  • stl

    surfaceshotglass.stl

    15 Mo · 1 228 descargas

    Descargar
  • stl

    bluetooth.stl

    2.8 Mo · 1 192 descargas

    Descargar

Descripción

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.

Etiquetas