stl_scale_translate_rotate
translate, scale or rotate stl 3d model, then saved it to .stl file.
Installation
pip install stl_scale_translate_rotate
Usage
from stl_scale_translate_rotate import stl_scale
from stl_scale_translate_rotate import stl_translate
from stl_scale_translate_rotate import stl_rotate_quaternion
STL_PATH = "input_filepath.stl"
EXPORT_PATH = "output_filepath.stl"
# Enlarge two times
stl_scale(STL_PATH, 2.0, EXPORT_PATH)
# Move model
stl_translate(STL_PATH, [1.0, 2.0, 3.0], EXPORT_PATH)
# Rotate model by quaternion
stl_rotate_quaternion(STL_PATH, [0.7492992877960205, 0.601024329662323, -0.1564661413431168, 0.2298665046691895], EXPORT_PATH)
Metadata
Release files for stl-scale-translate-rotate 0.1.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_scale_translate_rotate-0.1.1.tar.gz | 2.5 kB | Without provenance | Details for stl_scale_translate_rotate-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stl_scale_translate_rotate-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for stl_scale_translate_rotate-0.1.1-py3-none-any.whl |
Total release size: 6.1 kB
Release files / stl_scale_translate_rotate-0.1.1.tar.gz
| Download URL | stl_scale_translate_rotate-0.1.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e67cdcbca23f9b7635d4ce42d8454c1350e6db334c2bed82c1d57903de2edfb9
|
|
BLAKE2b-256 checksum How to use checksums |
f992426e7ae08db041de1665d9d38d61349ce09f06b8161fdc771ae18aa23903
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.13.12 Windows/11
|
Release files / stl_scale_translate_rotate-0.1.1-py3-none-any.whl
| Download URL | stl_scale_translate_rotate-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23ac6ddabc6aca108f16d2b4e42912eecf000b928fc52807db0fd59c779a7b1b
|
|
BLAKE2b-256 checksum How to use checksums |
f59216c99bde2c61c573f549daf694436d7434fb97bbb540129f41a45a5bc639
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.13.12 Windows/11
|
Security for stl-scale-translate-rotate 0.1.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.