Skip to main content

STL/STLA file conversion utility.

Project description

STL Converter

The tool has been developed in Python>=3.9 for direct command line usage. Installation can be performed via pip and used through a really simple syntax.

Note: these instructions assume that your Python interpreter is alised as python. If you have configured it otherwise, please use the proper alias.

Installation

python -m pip install stlconverter

Usage

The command for invoking the STL converter tool is as follows:

python -m stlconverter <input file path> <output mode>

The arguments for the command are the following:

  • Input file path: the path to the STL file to be converted
  • Output mode: the identifier of the output mode for the conversion process (case insensitive)
    • STLB: conversion to binary STL file
    • STLA: conversion to ASCII STL file

Note regarding STL numerical format

This conversion tool does not use IEEE 754-compliant numerical formats. Instead, it uses 32-bit floating point values. This greatly reduces the size of the ASCII variant of the STL format, but it might cause computational irregularities in some specific or complex conversion scenarios.

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

stlconverter-1.0.2.tar.gz (42.4 kB view details)

Uploaded Source

Built Distribution

stlconverter-1.0.2-py3-none-any.whl (31.2 kB view details)

Uploaded Python 3

File details

Details for the file stlconverter-1.0.2.tar.gz.

File metadata

  • Download URL: stlconverter-1.0.2.tar.gz
  • Upload date:
  • Size: 42.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for stlconverter-1.0.2.tar.gz
Algorithm Hash digest
SHA256 7217bbe280eea8a615a85879f7ed3fd9fbfb5871b09bfdc02937a659db86877a
MD5 1711846c4dc3f4265155a7a6b6387a3f
BLAKE2b-256 388fa61ad93bae2139465a7a83967d6d3d59d37c9e0ffb6e9486685013f16de7

See more details on using hashes here.

File details

Details for the file stlconverter-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: stlconverter-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 31.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for stlconverter-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 af64f2bcc27703eee663778b6f0db35c7e7377836831e8bd7feef16e8e37c17e
MD5 2957bd19d8fd4911263f3c540a4ebe7a
BLAKE2b-256 ec57ebe80082c5afe83a949d4801b4f5ec7f68fc8a8a64233c217fdd0a45e814

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