Image to Halftone to Printable Object
Description
Make cool halftone coasters. Use them as plastic "rubber" stamps. Make art!
This app was a result of a question posed on the Makerbot Operators Google group, and was written in 10-12 hours over the course of a few days. Feel free to take it and add features or make a standalone app or whatever.
You can download the source as well as packaged executables for Windows, OSX, and Linux.[3]
DISCLAIMER: This app is presented as-is and does not come with ANY support. (No time for that here, sorry)
NOTE 1 - the resulting STL files MUST be run through a post-processing app like Netfabb to create printable models.
NOTE 2 - the resulting OpenSCAD files can take a REALLY LONG TIME to render in OpenSCAD before you can save a STL from there.
NOTE 3 - I've only tested the OSX executable (which works fine), but not the Windows or Linux ones. I've mostly run from source.
Instructions
Tracked source is available on github, or download the un-tracked packaged source with this "thing".
To run from source, you also need to download and install:
Marius Watz's ModelBuilder library for Processing ( github.com/mariuswatz/modelbuilder - I used v0007a03)
ControlP5 library ( code.google.com/p/controlp5/downloads/list - SPECIFICALLY v0.5.4)
I also used the handy Proclipsing tool ( code.google.com/p/proclipsing/ )
Add the project to your Eclipse workspace, and run HalftoneImageToSTL.
Alternatively, download one of the pre-compiled executables and launch HalftoneImageToSTL.
---
Once you get it running, load an image and adjust:
- number of grid divisions
- invert colors
- reduce colors (pixelate) with variable amount
- use fixed-height or variable-height halftone "dots" (each adjustable)
- save as STL or OpenSCAD script
Note that the output file is sized to max-out a Thing-o-Matic HBP.
Have fun!
---
UPDATE v1.0.4
- Fix from jcosmo that gets the app running on Windows
- Disabled UI navigation while trying to load image
You must be logged in to post a comment.
This looks great, but does the windows executable does not appear to work.
windows version crashing after loading image. Java is autoupdating, so must be the latest, windows7 x64
Having problems getting this working, using the windows executable, my java application just crashes straight after loading an image, using latest java, jre 7u7 i586, any ideas please
Thanks. I think i'm gonna try it out. I've been trying to get a pic of my dog on some stuff I'm printing out. I've been trying to draw him by putting tracing paper on the lcd screen and then drawing his outline using a series of cylinders generated as "primitive shapes" on netfabb. It's gonna take several hundred dots just to draw his outline and make a cartoon image of my dog. This may be more expedient than my method. BTW, is there an easier way to take a jpg image and turn it into a solid 3d printable file without having to use solidworks,scad, sketchup, etc? I dunno how to use those complicated programs. I'm more of a netfabb pro and tinkercadd type of guy. Thanks! You're a genius!
I'd add that post-processing, slicing, and printing these files takes a long time and a lot of processing power. I found that Miracle Grue slicer in RepG works way faster than SF50 (I have not tried Slic3r). OpenSCAD sometimes never returns from generating. This is a good proof of concept, but I don't know this is really a production-ready process.
Hey there. No worries about not fully getting what this does -- it is a little bit of a niche app.
Yes, latigerlilly, it does do almost exactly what you linked to. The difference being that this allows the B&W image (grayscale, actually) to not only change the size of "dots" in the halftone, but also the height if one wants.
MichaelAtOz, I'll upload a sample image and STL here shortly.
Err... color me stupid, but what does this do? I am guessing that it takes a jpg image and turns it into a black and white picture and then uses that black and white picture to somehow turn it into a 3d printable image like this: http://www.tailormadecreation....
Could you please post an example JPG/PNG, the resultant STL and if possible a printed object? I'm having trouble visualising what it would be like.
I posted a screen grab of the app converting a familiar logo into a model.
The top-right is the original JPG, the bottom-right is the converted image, and the middle is the 3D rendered model. I also posted a STL file (run through Netfabb) of the model that you could print, or use Thingiverse's rendering to get an idea of what it would be like.
I hope these help :-)
License

Sorry folks -- it seems that the Windows executable may not work for everyone. :-(
I don't want to remove it unless it in case it's a Java or hardware-specific issue with only some machines. If anyone has a Windows machine to try to compile on from Eclipse, and test that exectuable, that would be awesome (see update with github source, or download main ZIP) :-)