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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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