• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 1
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 2
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 3
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 4
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 5
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 6
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 7
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 8
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 9
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 10
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 11
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 12
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 13
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 14
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 15
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 16
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 17
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 18
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 19
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 20
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 21
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 22
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 23
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 24
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 25
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 26
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 27
Starry Night MultiColor (Diamond Hotend) 3D Printer File Image 28
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 1
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 2
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 3
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 4
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 5
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 6
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 7
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 8
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 9
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 10
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 11
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 12
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 13
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 14
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 15
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 16
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 17
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 18
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 19
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 20
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 21
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 22
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 23
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 24
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 25
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 26
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 27
Starry Night MultiColor (Diamond Hotend) 3D Printer File Thumbnail 28

Starry Night MultiColor (Diamond Hotend)

swirlingbrain avatarswirlingbrain

January 19, 2019

thingiverse-icon
DescriptionCommentsTags

Description

I recently installed a 3 color diamond head/hotend to my 3d printer and wanted to make a image color print and thought Starry Night was a beautiful picture to use. I couldn't find a program to turn a color image into a 3d print so I made one. Yes, I'll admit I'm a mediocre programmer but am happy that I made something out of Perl to convert an image to its various colors in multiple ASCII STL files. I sort of wish I made it output binary stl instead but that was more work and for now it was good enough (maybe I'll do that in the future).

So I took a Vincent Van Gogh Starry Night image into Gimp and converted it to 12 colors 80x52 sized. I figured that I wanted each pixel (voxel) to be about 1mm cubed and I figured 80mm was plenty wide. Although it could be resized smaller and then made at higher resolution. I didn't want to go too crazy with the number of colors and 12 seemed to allow CMY (without black) to work mostly.

So the program I made takes in an image at whatever size and whatever colors and splits them into 2 stl files per color. This was because I was able to make the blocks wider but when I tried to merge them in the Y axis direction, things went weird. So instead I output every other line into two seperate files per color, then imported them to Tinkercad and merged them. I had trouble with the registration so I added a registration block - not sure if that will cause problems so I left the original files without the registration block and not merged also which can be imported into Repetier probably. I had to convert the files to binary STL anyway since Repetier couldn't import the ASCII STLs. (yeah I regret not outputting binary more now).

I tried loading it into Repetier and exporting and 3MF file but that didn't seem to work since when I tried to reimport it, it wasn't right. Oh well.

So anyway, I've included a text file with the colormap info. The rbg values are correct but I haven't verified the CMY values in the colormap file so you may want to spot check that if you try it. I haven't tried it yet because I don't have Cyan, Magenta, and Yellow filament yet and not sure when I'll get around to it. Of course, you'll need to adjust your color extruder weights in your 3d printer's firmware and probably slicer and maybe the host software and elsewhere (it's so easy!) for extruding the correct colors for each color so be aware of that if you aren't already.

I have included the ugly Perl program to convert an image to STL files (use at your own risk).
Usage: 3dimage.pl input_image_file output_pre_name colormap.txt
Example: 3dimage.pl starrynight.gif sn sncolormap.txt
For the image, you'll want to go into Gimp, and choose image->mode->indexed and pick a maximum number of colors or else you'll get too many colors to easily work with. 12 seemed about right for me. If you use the Perl program, please give me credit, and I'd love to see what you come up with so point me to a pic you happen to make. I use StrawberryPerl which is free on the Internet. You'll want to do "cpan install gd" also since it uses the gd module for getting the pixel info.

I thought about making a basrelief version where a second heightmap could be given to the program to make the image be 3dized instead of flat. I've included an image for an example of a program made long ago that did something like it.

If you try it and you get it printed, please show me your make! I'd love to see it actually printed (I'd wish more I was setup already to print it but I'd love to see it printed anyway).

The sn??.stl files are the 12 color stl files with registration guide.
The sn??_?.stl files are the 12 color stl files broken into every other line without a registration guide.
See the sncolormap.txt for color values.

This "thing" https://www.thingiverse.com/thing:3142654 was trying to make a lithopane (not a color print?) and was close to what i was wanting. His thing was sort of the inspiration for my thing.

But I'm mostly inspired by Jesus who saved and is saving this wretched person that I am.

I added a higher res version (0.5mm instead of 1mm cubes). Look for the high res zip file.
I added a black and white version of the high res also (maybe that's easier for dual-extruders?).

I don't have Cyan, Magenta, Yellow currently but I do have Black, White, and Blue. So with those colors and editing the image in Gimp, I converted it to print with those colors. I also scaled up the size x=1.6, Y=1.6, and Z=2.0 and gave it a raft to sit on.

Yay! I have a first print. I printed it with just black, white, and blue and need to adjust the colors more but hey, it worked for a first try! It sort of looks like a shag carpet!

https://www.youtube.com/watch?v=g5dXzrsnnq8

License:

Creative Commons - Attribution

Related Models

Reindeer Phone Stand preview image

Reindeer Phone Stand

C47_3D profile image

C47_3D

467

Rolling Stones Tongue and Lips logo preview image

Rolling Stones Tongue and Lips logo

Dizzy profile image

Dizzy

44

Filament spool storage box + silica & filament tag preview image

Filament spool storage box + silica & filament tag

Kahany profile image

Kahany

1,785

RepRapPro Mendel preview image

RepRapPro Mendel

adrian-bowyer profile image

adrian-bowyer

445

Shopping Cart Chip / Coin / Key (multicolor) preview image

Shopping Cart Chip / Coin / Key (multicolor)

Fibonachio profile image

Fibonachio

10

Schlüsselanhänger mit Beschriftung preview image

Schlüsselanhänger mit Beschriftung

lolR42 profile image

lolR42

139

Do Not Touch! (3Colors one Object) preview image

Do Not Touch! (3Colors one Object)

HtXF profile image

HtXF

434

kratos god of war keychain preview image

kratos god of war keychain

Mts 3D prints profile image

Mts 3D prints

14