Export .blend files to .stl with scale
Project description
blend2stl
Simple library to export blender files (.blend) to STL format (.stl) with scale.
In my personal blender configuration I use millimeters as base scale and default export to STL makes objects tiny. That why we need scale parameter with default value 1000.
Installation
Just use pip
pip install blend2stl
Usage:
In CLI
python -m blend2stl --input folder-with-blend --output folder-with-stl [--scale 500]
In python code
from blend2stl import blend2stl
# Define input/output paths and scale
input_folder = "/path/to/blend/files"
output_folder = "/path/to/output/stls"
scale = 1000 # Optional, default is 1000
# Run export
blend2stl(input_folder, output_folder, scale)
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file blend2stl-0.0.1.tar.gz.
File metadata
- Download URL: blend2stl-0.0.1.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1163718a6db6482e877c9337798bb2d4651183a72965fde2a0af57a55396e04
|
|
| MD5 |
d4c61269e5936b933190a2f461d97eff
|
|
| BLAKE2b-256 |
8933143eb07fa6aab9f6f1f457fe09e4ffb8980ebf614592d19b4291ea998140
|
Provenance
The following attestation bundles were made for blend2stl-0.0.1.tar.gz:
Publisher:
publish.yml on Koziolek/blend2stl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
blend2stl-0.0.1.tar.gz -
Subject digest:
a1163718a6db6482e877c9337798bb2d4651183a72965fde2a0af57a55396e04 - Sigstore transparency entry: 189465920
- Sigstore integration time:
-
Permalink:
Koziolek/blend2stl@65c5022c7c0a8419685640760c1fb63bb07cb51d -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/Koziolek
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@65c5022c7c0a8419685640760c1fb63bb07cb51d -
Trigger Event:
push
-
Statement type:
File details
Details for the file blend2stl-0.0.1-py3-none-any.whl.
File metadata
- Download URL: blend2stl-0.0.1-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e98e449f384f2fa4b0e61c447be78330b397b35f45ab52f63ad8732f89b43e1f
|
|
| MD5 |
927f45f3232b324fc056ec9291d8b389
|
|
| BLAKE2b-256 |
a66ba8ed499d74bb374df98bdfa17f0f44929d7021e06633ff509786f4355257
|
Provenance
The following attestation bundles were made for blend2stl-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on Koziolek/blend2stl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
blend2stl-0.0.1-py3-none-any.whl -
Subject digest:
e98e449f384f2fa4b0e61c447be78330b397b35f45ab52f63ad8732f89b43e1f - Sigstore transparency entry: 189465929
- Sigstore integration time:
-
Permalink:
Koziolek/blend2stl@65c5022c7c0a8419685640760c1fb63bb07cb51d -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/Koziolek
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@65c5022c7c0a8419685640760c1fb63bb07cb51d -
Trigger Event:
push
-
Statement type: