Skip to main content

ldraw2mesh

A utility for converting LEGO (LDraw) files to glTF (.glb/.gltf).

Built on ldr_tools_blender, but designed to be a standalone tool without Blender dependencies.

Installation

uv add ldraw2mesh       # with uv
pip install ldraw2mesh  # with pip

LDraw Parts Library

An LDraw parts library is required to process LDraw files. Download it from https://www.ldraw.org/.

Set the LDRAW_LIBRARY_PATH environment variable to the path of your LDraw library:

export LDRAW_LIBRARY_PATH=/path/to/ldraw

Usage

Python API

from ldraw2mesh import convert

# Convert an LDraw file to glTF
convert("model.ldr", "model.glb")

Command-line

ldraw2mesh model.ldr -o model.glb

Contributing

To build from source, you need:

  • Rust ≥ 1.85
  • uv

Clone the repository and run:

uv run maturin develop --uv

Metadata

Release files for ldraw2mesh 0.1.1

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

Source distribution (sdist)

Source distribution for ldraw2mesh 0.1.1
File Size Uploaded Provenance Actions
ldraw2mesh-0.1.1.tar.gz 66.2 kB With provenance Details for ldraw2mesh-0.1.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for ldraw2mesh 0.1.1
File Actions
ldraw2mesh-0.1.1-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for ldraw2mesh-0.1.1-cp314-cp314-win_amd64.whl
ldraw2mesh-0.1.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64 Details for ldraw2mesh-0.1.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ldraw2mesh-0.1.1-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for ldraw2mesh-0.1.1-cp314-cp314-macosx_11_0_arm64.whl
ldraw2mesh-0.1.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for ldraw2mesh-0.1.1-cp313-cp313-win_amd64.whl
ldraw2mesh-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details for ldraw2mesh-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ldraw2mesh-0.1.1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for ldraw2mesh-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
ldraw2mesh-0.1.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for ldraw2mesh-0.1.1-cp312-cp312-win_amd64.whl
ldraw2mesh-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for ldraw2mesh-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ldraw2mesh-0.1.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for ldraw2mesh-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
ldraw2mesh-0.1.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for ldraw2mesh-0.1.1-cp311-cp311-win_amd64.whl
ldraw2mesh-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for ldraw2mesh-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ldraw2mesh-0.1.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for ldraw2mesh-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
ldraw2mesh-0.1.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for ldraw2mesh-0.1.1-cp310-cp310-win_amd64.whl
ldraw2mesh-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for ldraw2mesh-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
ldraw2mesh-0.1.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for ldraw2mesh-0.1.1-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 13.9 MB

Release files / ldraw2mesh-0.1.1.tar.gz

Download URL ldraw2mesh-0.1.1.tar.gz
Size 66.2 kB
Tags Source
SHA-256 checksum
How to use checksums
dadc3ee144571920bb49a1da45f5e5d8cb3c656b358d18b4da724420ec51eb2a
BLAKE2b-256 checksum
How to use checksums
cadc58ebf68158b88fcedbc7547ff446ef6012622af5c7db7f23812a8c9757f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / ldraw2mesh-0.1.1-cp314-cp314-win_amd64.whl

Download URL ldraw2mesh-0.1.1-cp314-cp314-win_amd64.whl
Size 845.9 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
15821b1ed93747f2299b71ad5369d7710eb8c43d03a3cd2edaa539bbb2e40217
BLAKE2b-256 checksum
How to use checksums
157382674efbdd06d9b3bbb126daff69eb956075cf96f70b2d1b93e347b0aa93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / ldraw2mesh-0.1.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ldraw2mesh-0.1.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.0 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
484e00952c4dea16ba9b54acf045954b781fc6e89c63d238f7bb2a62eb48db8c
BLAKE2b-256 checksum
How to use checksums
c5f85cdc62556dec4ea0d8df4ecc371ad8b3d7c28e1009b592df4f9fd73612ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / ldraw2mesh-0.1.1-cp314-cp314-macosx_11_0_arm64.whl

Download URL ldraw2mesh-0.1.1-cp314-cp314-macosx_11_0_arm64.whl
Size 897.9 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b7b6bf2129e79141d89c2281fee8bd46eb7e3e61775702ba7da5b81d565e00c9
BLAKE2b-256 checksum
How to use checksums
b9a0aa307aed94d40ee76f4c3833364f32c782c3267bc1d28597387f8e898846
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / ldraw2mesh-0.1.1-cp313-cp313-win_amd64.whl

Download URL ldraw2mesh-0.1.1-cp313-cp313-win_amd64.whl
Size 846.1 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
49bcd9a6d7ff8ce182ea1de3b4f50d4fdec25e9b01a801d581e46346a2933c88
BLAKE2b-256 checksum
How to use checksums
db37f1baf369fdf34bc0a18875c7e54486efa98d428501f3eb074ac0cb471ab6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / ldraw2mesh-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ldraw2mesh-0.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.0 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
d4ffa0bbf7be73d571d2fbf6d31472811cac63c2c01d69b7bcf52b02ca04d17f
BLAKE2b-256 checksum
How to use checksums
366e7e11163e3214830af1301eb834d0de3d4ae6d30fff9e6ac06453aee68fb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / ldraw2mesh-0.1.1-cp313-cp313-macosx_11_0_arm64.whl

Download URL ldraw2mesh-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
Size 897.2 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e6039e44df0b1848a7ce561300dfdee3210da0b1806e02ae4e4f7d54ef079aa3
BLAKE2b-256 checksum
How to use checksums
ba1b6ecbe5dfeb3d3b1b23844d5e4bb8d534d0f4a6d365f2a40942ac7467a81c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / ldraw2mesh-0.1.1-cp312-cp312-win_amd64.whl

Download URL ldraw2mesh-0.1.1-cp312-cp312-win_amd64.whl
Size 846.5 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
f2c66be22f4efc4bf3ca7968c6b9951f551a6d8abb4f6c6635e71472bfc05c74
BLAKE2b-256 checksum
How to use checksums
2ef9094f514e44603f91b3f83201b906aa6d10f384cd4ac4ab03e546aa5580f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / ldraw2mesh-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ldraw2mesh-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.0 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
fbc1eb596f4981c52b9114485132d3a1bc3bfbbf96663305fdf9ee5442e11d15
BLAKE2b-256 checksum
How to use checksums
95c260ad75b81f1f7233e2ac2efae732f1c3eaf39ddd281d225b05c40d5f8b3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / ldraw2mesh-0.1.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL ldraw2mesh-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Size 897.4 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ce067d2391fb1208963888402c9719ba34190815462a808e3e7fb6edb31f283a
BLAKE2b-256 checksum
How to use checksums
15d73aedf39a812b05b6c3849082138da04e48b1707b2d19605b1d0d8d590ebe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / ldraw2mesh-0.1.1-cp311-cp311-win_amd64.whl

Download URL ldraw2mesh-0.1.1-cp311-cp311-win_amd64.whl
Size 847.2 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
d4c73b3bc7aaa604779a4eb053169006f3c39b434803568827d17033eaefb016
BLAKE2b-256 checksum
How to use checksums
ac8df7ab7db7835f9ff86b32b66300263de144482643522e5e60c22f68a93619
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / ldraw2mesh-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ldraw2mesh-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.0 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
6eefd2c24ec811cc7e81a7fa6d733a7c9f5deeb39679a94c9ab77edfd38e1fd6
BLAKE2b-256 checksum
How to use checksums
443dc16c2ff638c5068e3ba34be0b2e0cf8c19d8c765e461245cf2d0bf4a25b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / ldraw2mesh-0.1.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL ldraw2mesh-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Size 900.1 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
faf5a21b5fb187a10b96cb0005ccabf2d81932f878ab9fb6d0e11dc7a3272e3d
BLAKE2b-256 checksum
How to use checksums
dc449a9322c1767fb4d5ec10404e6f76b3052ce4186bfc90b7ac151cdd37f0ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / ldraw2mesh-0.1.1-cp310-cp310-win_amd64.whl

Download URL ldraw2mesh-0.1.1-cp310-cp310-win_amd64.whl
Size 847.0 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
b2dcfe5761ea9378d6c2869924cb56f3c4fba41dbc7338e8d900ba47b029d122
BLAKE2b-256 checksum
How to use checksums
4bd74a1836e07a1de871dcfdd027ecbcf10585024b2ba9d5ce159c21e11f5019
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / ldraw2mesh-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL ldraw2mesh-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.0 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
5ed206cec86c0fd8acdd363f31a7fa0af5af0229a08f5432d23c8d70b193cefb
BLAKE2b-256 checksum
How to use checksums
0e05335f832772da4b623ec972920cd45be61ae8413ffd9ed4d3229aaf9b512a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Release files / ldraw2mesh-0.1.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL ldraw2mesh-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
Size 900.3 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4066b606bc716e04055f92a41db64543cc04f3db831d80ee19612c464ad59d8f
BLAKE2b-256 checksum
How to use checksums
4d94ec329aedf4144f2884ed5b9ebb744ea6883e0d9a19a4d3358cd383da4e03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

Security for ldraw2mesh 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.

Full provenance

All 16 files in this release have been uploaded with provenance metadata.

Select from 16 files

Attestation for ldraw2mesh-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 27, 2026.

Transparency log

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

0.1.1 This release

16 release files Full 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