STL Stretch
This script lets you modify stl files by scaling them, including by scaling just a section along an axis.
Requirements:
- Python 2.7+ including Python 3.x
- Nose in order to run the tests
How does it work?
For example, let's say you have this file, but want it to be wider:
You coud scale it by a fixed amount through the whole way, but that will make the circles out of round, which you might need for screws or something else:
To use this script, you need to find (or guess and iterate) on the coordinates the bound where you want to modify, for example to stretch between X=9 and X=15, the script divides it into 3 segments:
The no-op change would be python stl.py --stretch "X 9 15 0" -o new.stl old.stl. Note the 0. If you want to expand this region by 7.5 units
(typically mm by convention) then change the 0 to 7.5.
The resulting file is one without gaps, those are just for illustration.
Metadata
Release files for stl-stretch 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stl_stretch-0.1.tar.gz | 4.4 kB | Without provenance | Details for stl_stretch-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stl_stretch-0.1-py3-none-any.whl | Python 3 | none | any | Details for stl_stretch-0.1-py3-none-any.whl |
Total release size: 10.0 kB
Release files / stl_stretch-0.1.tar.gz
| Download URL | stl_stretch-0.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04fff51bcee7168969db653ef74cf6197685e2a645e33b6a4726fa6038d62ea8
|
|
BLAKE2b-256 checksum How to use checksums |
a9cc4d5350dc66b7acd2e9a2a3a79131715291da09fe7405cd22807bad1c2443
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
|
Release files / stl_stretch-0.1-py3-none-any.whl
| Download URL | stl_stretch-0.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dea360b4f12f1f1464d71a91a8e997d85fe093a9cfbd3f295d032bd2ef411ba1
|
|
BLAKE2b-256 checksum How to use checksums |
32b42c8c67f26fe5debc26c2f9167e9acb454da9bca22146499bdd941c4d23da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
|
Security for stl-stretch 0.1
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.