Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Img2STL-1.3.1.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

Img2STL-1.3.1-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file Img2STL-1.3.1.tar.gz.

File metadata

  • Download URL: Img2STL-1.3.1.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for Img2STL-1.3.1.tar.gz
Algorithm Hash digest
SHA256 5dfd3fefe7a19cb0338d533e115b680bb7f26c0282d1d283ce6b6f5ea1f5ab16
MD5 63e4f9dd84b057acf5a5c366db7b8465
BLAKE2b-256 b71861ad1bcf4533b7e6042b4b0e5b5d3a9866d8d3a260bda3980e4230cfc32c

See more details on using hashes here.

File details

Details for the file Img2STL-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: Img2STL-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for Img2STL-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e38d8d32abd03c3ee6e0a73f7ebab9bd17223025f71f324bf91cc47caf688425
MD5 7fc2a47141bbe4952def39ba9e92f479
BLAKE2b-256 eff44606639e6e3e8fef0adddd77bd84ac94f4fc8d11439a3efed499686ac015

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page