Skip to content

This tool allows you to easily convert any image into a 3D print-ready STL model. The surface of the model will display the image when illuminated from the left side.

License

Notifications You must be signed in to change notification settings

CreepyMemes/ImageToSTL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Downloads Downloads Downloads Downloads

Show

What is ImageToSTL?

ImageToSTL is an easy-to-use single program that allows users to quickly and easily convert their favorite images into 3D printable STL files. Whether you're a professional 3D designer or a hobbyist, ImageToSTL is the perfect tool for creating beautiful and unique 3D printed objects.

The program works by first taking an image as input, the layer height you are going to 3D print with and the model's size in mm, then it analyzes the image to create a height map with the information taken previously. This height map is then used to generate an STL file that is ready to be 3D printed.

The main function of this script is the creation of highly detailed and accurate lithophane-like models. The model it generates is an image that shows up when it's illuminated from the left, and not back-lit like traditional lithophanes.

Usage

Download the ImageToSTL.exe in the latest release from releases or just click here

Usage

Click browse to select the image you want to convert and the folder you want your STL to be generated in.

Usage

Insert the width and height values in mm (they will be automatically adjusted to maintain the original aspect ratio of your image) Then enter the Layer Height you are going to 3D Print with (0.2 mm is set default). To confirm the entered values click Generate STL.

ImageToSTL will then generate an STL file called imagename.stl in the folder you've selected previously.

If you want to run the script instead, install requirements first with this command:

python -m pip install -r requirements.txt

Note

  • When printing on FDM, the heightmap should be oriented vertically (the STL file should already be oriented correctly).
  • Using a brim is also recommended, and you can also print it with 0% infill.
  • Put Z seam alignment in sharpest corner, so it doesn't obstruct the image.

About

This tool allows you to easily convert any image into a 3D print-ready STL model. The surface of the model will display the image when illuminated from the left side.

Topics

Resources

License

Stars

Watchers

Forks

Languages