Skip to main content

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

GPLv3

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

blend2stl-0.0.1.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blend2stl-0.0.1-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

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

Hashes for blend2stl-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a1163718a6db6482e877c9337798bb2d4651183a72965fde2a0af57a55396e04
MD5 d4c61269e5936b933190a2f461d97eff
BLAKE2b-256 8933143eb07fa6aab9f6f1f457fe09e4ffb8980ebf614592d19b4291ea998140

See more details on using hashes here.

Provenance

The following attestation bundles were made for blend2stl-0.0.1.tar.gz:

Publisher: publish.yml on Koziolek/blend2stl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for blend2stl-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e98e449f384f2fa4b0e61c447be78330b397b35f45ab52f63ad8732f89b43e1f
MD5 927f45f3232b324fc056ec9291d8b389
BLAKE2b-256 a66ba8ed499d74bb374df98bdfa17f0f44929d7021e06633ff509786f4355257

See more details on using hashes here.

Provenance

The following attestation bundles were made for blend2stl-0.0.1-py3-none-any.whl:

Publisher: publish.yml on Koziolek/blend2stl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page