Skip to main content

Py3DConvert

Py3DConvert is a Python library and CLI for converting, inspecting, validating and performing conservative cleanup on static 3D mesh assets. The desktop GUI is optional. It uses the Python trimesh ecosystem and does not require Blender, Assimp executables or a REST service.

V2 Desktop workspace

Install the desktop extras and launch the graphical application:

python -m pip install "py3dconvert[gui]"
py3dconvert-gui

The V2 GUI includes a drag-and-drop conversion queue, folder destination (automatic output filenames), batch conversion, local history, inspection/validation, basic cleanup, and an optional PyVista viewer.

Folder destination API:

from py3dconvert import Converter
result = Converter().convert_to_folder("model.obj", "converted", "glb")
# converted/model.glb

Install

python -m pip install py3dconvert
python -m pip install "py3dconvert[gui]"  # optional desktop UI
python -m pip install "py3dconvert[dev]"  # build, tests, lint and PyPI checks

Python API

from py3dconvert import Converter, Inspector, Validator, Optimizer

result = Converter().convert("model.obj", "model.glb")
print(result.output, result.output_size)

info = Inspector.inspect("model.glb")
print(info.geometry_count, info.vertex_count, info.face_count, info.bounds)

report = Validator.validate("model.glb")
if not report.valid:
    print(report.errors)

Optimizer.repair_basic("model.obj", "model-clean.obj")

Batch conversion

from pathlib import Path
from py3dconvert import Converter

report = Converter().convert_batch(
    Path("models").glob("*.obj"), "converted", "glb",
    continue_on_error=True,
)
print(len(report.results), report.errors)

CLI

py3dconvert formats
py3dconvert capabilities
py3dconvert convert input.obj output.glb
py3dconvert inspect model.glb
py3dconvert validate model.stl --watertight
py3dconvert batch ./models ./converted --to glb --continue-on-error
py3dconvert-gui  # requires [gui] extra

Format support and fidelity

The exact import/export capabilities depend on the installed trimesh version and optional Python dependencies. Run py3dconvert formats to see known extensions, py3dconvert capabilities to see the installed import/export registrations, or call format_capabilities() from Python. A listed extension is not a guarantee that every source/target pair works. Some formats need optional handlers; some exporters produce sidecar files. Always validate outputs in the application that will consume them.

This release targets static triangle-mesh assets. It does not claim full preservation or conversion of skeletal rigs, skinning, morph targets, animation timelines, CAD parametric history, physics, cameras, lights or every material/shader graph. Material and texture fidelity is format- and backend-dependent. It is not a universal replacement for Blender or specialist CAD tools.

Development

python -m pip install -e ".[dev]"
python -m pytest

See docs/API.md, docs/ROADMAP.md and CHANGELOG.md.

Metadata

Release files for py3dconvert 2.0.0

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

Source distribution (sdist)

Source distribution for py3dconvert 2.0.0
File Size Uploaded Provenance Actions
py3dconvert-2.0.0.tar.gz 20.4 kB Without provenance Details for py3dconvert-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py3dconvert 2.0.0
File Interpreter ABI Platform Actions
py3dconvert-2.0.0-py3-none-any.whl Python 3 none any Details for py3dconvert-2.0.0-py3-none-any.whl

Total release size: 39.4 kB

Release files / py3dconvert-2.0.0.tar.gz

Download URL py3dconvert-2.0.0.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7853dc68ac5d8f00deb896957baf6d632bee747e3b0cebbb20a05680d958c445
BLAKE2b-256 checksum
How to use checksums
c00be1a33b6d7676841d972ff6ef22f922674ce5220682beb2a7aec1de579db2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / py3dconvert-2.0.0-py3-none-any.whl

Download URL py3dconvert-2.0.0-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bad49736a03da9dd192b0e5dc0417380e3a29412c9d78ee64fd421b6d1400d7d
BLAKE2b-256 checksum
How to use checksums
19e4f89b16eeb566e54f183bb2c3f7e51b56cad677fbc14f3b6e9ffe512d7b3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for py3dconvert 2.0.0

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.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files No 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