Skip to main content

stl_to_obj

Converts a binary STL to OBJ

Uses dictionary lookup for fast results

Requires Python 3.6 and newer

Installation

pip install stl_to_obj

or

git clone https://github.com/jmanek/stl_to_obj.git

Usage

Can be run from the command line or imported

from stl_to_obj import stl_to_obj

stl_to_obj('input1.stl') # saves to output1.obj

stl_to_obj('input2.stl', 'output2.obj', precision=6, verbose=True)
usage: stl_to_obj [-h] [--precision PRECISION] [--verbose] stl_file [obj_file]

Converts a binary STL to OBJ

positional arguments:
  stl_file              STL file to process
  obj_file              OBJ filename, defaults to stl_file.obj

optional arguments:
  -h, --help            show this help message and exit
  --precision PRECISION, -p PRECISION
                        Rounds vertices to the given precision
  --verbose, -v         Outputs conversion info

Metadata

Release files for stl_to_obj 1.0.0

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

Source distribution (sdist)

Source distribution for stl_to_obj 1.0.0
File Size Uploaded Provenance Actions
stl_to_obj-1.0.0.tar.gz 3.0 kB Without provenance Details for stl_to_obj-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 6.9 kB

Release files / stl_to_obj-1.0.0.tar.gz

Download URL stl_to_obj-1.0.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a6f9c2c10a02f76b5ad1f149ed53bc3b245a15deea950d72586adf6b840be78e
BLAKE2b-256 checksum
How to use checksums
54c75da5bc0f4adbb6967c5e8728af36aef523b595b4ea495589ce7000ec61f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.12.1 Darwin/23.1.0

Release files / stl_to_obj-1.0.0-py3-none-any.whl

Download URL stl_to_obj-1.0.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a04704a9283642f37578c5df6638a033ec2c89f2e46e00d7079c25d68ec63af
BLAKE2b-256 checksum
How to use checksums
6d0551b9ef444239ca4fd623a7af568e5cbdcda18fc6ca77af30d01436beb015
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.12.1 Darwin/23.1.0

Security for stl_to_obj 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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