Skip to main content

Img2STL

PyPI PyPI - Status PyPI - Downloads PyPI - Python Version PyPI - License

Application for converting images to STL (3D-model for printing)

Installing

Before installing, make sure you have Python version 3.7 or higher installed.
Otherwise, install it from python site

Then type to console:
pip install Img2STL

For Linux users:

You need to manually install the wxPython package following the instructions here

Usage

After install, you may launch this app with next command:
python -m Img2STL

The program window is as follows: img

Open Image
  • Open Image(s) Opens one or more images
  • Auto Crop Automatic cropping of opened files if there are transparent areas
Property
  • Density Pixel size on a real model in mm
  • Max/Min Height Max/Min thickness of the model in mm
  • Mask Mode: Transparency Color Choose a base color that will not be used when creating the model (mask)
  • Height Mode: Black White During image processing, a copy of it in grayscale will be created. If the "Black" mode is selected, the darker the pixel, the greater the thickness of the final model in the place corresponding to this pixel, and vice versa, if the "White" mode is selected
Exit File
  • Choose a place to save files.
  • STL Format: ASCII / BIN Choose a method to save the destination file. ASCII is a plain text file. BIN is a binary format. It is recommended to use a binary format, as large models in text format can have a very large size
Execute
  • Execete Begin the process of converting
  • This shows the progress of execution of conversion
Palette
  • The color palette of the selected file is displayed here. The "amount" field shows the number of pixels of the corresponding color in the "color" field
Image field

All open files are displayed here. Access to them is carried out on tabs with file names

Exit file

In the end, a stl file with a 3D model will be created, which can be viewed using the appropriate application (for example, the 3DView plugin for Google Chrome browser): img

Metadata

Release files for Img2STL 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Img2STL 1.3.1
File Size Uploaded
Img2STL-1.3.1.tar.gz 16.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Img2STL 1.3.1
File Interpreter ABI Platform
Img2STL-1.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 36.2 kB

Release files / Img2STL-1.3.1.tar.gz

Download URL Img2STL-1.3.1.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5dfd3fefe7a19cb0338d533e115b680bb7f26c0282d1d283ce6b6f5ea1f5ab16
BLAKE2b-256 checksum
How to use checksums
b71861ad1bcf4533b7e6042b4b0e5b5d3a9866d8d3a260bda3980e4230cfc32c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release files / Img2STL-1.3.1-py3-none-any.whl

Download URL Img2STL-1.3.1-py3-none-any.whl
Size 19.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e38d8d32abd03c3ee6e0a73f7ebab9bd17223025f71f324bf91cc47caf688425
BLAKE2b-256 checksum
How to use checksums
eff44606639e6e3e8fef0adddd77bd84ac94f4fc8d11439a3efed499686ac015
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release history Release notifications | RSS feed

This release

1.3.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page