Skip to main content

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.

Release files for stlconverter 1.0.2

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

Source distribution (sdist)

Source distribution for stlconverter 1.0.2
File Size Uploaded
stlconverter-1.0.2.tar.gz 42.4 kB Details

Built distribution (wheel)

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

Total release size: 73.6 kB

Release files / stlconverter-1.0.2.tar.gz

Download URL stlconverter-1.0.2.tar.gz
Size 42.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7217bbe280eea8a615a85879f7ed3fd9fbfb5871b09bfdc02937a659db86877a
BLAKE2b-256 checksum
How to use checksums
388fa61ad93bae2139465a7a83967d6d3d59d37c9e0ffb6e9486685013f16de7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / stlconverter-1.0.2-py3-none-any.whl

Download URL stlconverter-1.0.2-py3-none-any.whl
Size 31.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af64f2bcc27703eee663778b6f0db35c7e7377836831e8bd7feef16e8e37c17e
BLAKE2b-256 checksum
How to use checksums
ec57ebe80082c5afe83a949d4801b4f5ec7f68fc8a8a64233c217fdd0a45e814
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

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