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.1.tar.gz (42.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: stlconverter-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 f7bf410fa47978969a73b5e7e74a41e60dffb59f7b0870bb927af3f92cf0bbc6
MD5 6edbf9ab2bfa11ab867c148587ba1c96
BLAKE2b-256 8a59b041137c56751d5a94f6679af28655f406d1d33816956cd9dda158a07381

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stlconverter-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e120481ae8e83772d1ae8b4c7caf4a4d6a25c173b458880e14597c18483b5b8c
MD5 dc14c41963d9e838ac4b9e4a5a73f8af
BLAKE2b-256 2b5b5f60910db4d5f46a7e3e838fc6533bb625a9b79c308a9117e2157767f071

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