structura-render
Minecraft structures, rendered like Minecraft.
Create textured previews, vector plans and portable 3D models from Minecraft structures. Textured previews and mesh exports share one geometry pipeline. Install only the output backends you need.
Builds: ProMcEngineering, Ohnoitswoody, Arolas, EdCr0w, GameBreaker, Zeira4424, DaveGR.
Quick start
No Minecraft resources or graphics backend are needed for projections and SVG:
pip install structura-render
structura-render examples demo
structura-render projections demo/demo.nbt demo/views.png
structura-render svg demo/demo.nbt demo/floor.svg --view top --depth 1 4
For textured previews and 3D export:
pip install "structura-render[hero,usdz]"
structura-render png demo/demo.nbt demo/house.png --orthographic
structura-render usdz demo/demo.nbt demo/house.usdz
A launcher-installed Minecraft 1.21.1 client is detected automatically. For
another client or resource pack, set STRUCTURA_MINECRAFT_ASSETS to its .jar
or extracted assets/minecraft directory. Game assets are not bundled.
Outputs
| Result | Install | Command |
|---|---|---|
| Six-view technical PNG | base | structura-render projections in.nbt out.png |
| SVG plan / cross-section | base | structura-render svg in.nbt out.svg --view top |
| WebP image | base for projections; [hero] for perspective |
structura-render projections in.nbt out.webp |
| Perspective / orthographic PNG | [hero] |
structura-render png in.nbt out.png |
| USDZ / Apple Quick Look | [usdz] |
structura-render usdz in.nbt out.usdz |
| USD / USDA / USDC scene | [usdz] |
structura-render usd in.nbt out.usdc |
| GLB / glTF | [gltf] |
structura-render gltf in.nbt out.glb |
| Wavefront OBJ | [obj] |
structura-render obj in.nbt out.obj |
| Binary STL | [stl] |
structura-render stl in.nbt out.stl |
| MagicaVoxel VOX | base | structura-render vox in.nbt out.vox |
The glTF/USD output extension selects the encoding. WebP uses Pillow's default
encoding in the CLI; lossless saving is shown below. SVG and VOX need no game
assets. Only [hero] needs PyVista/VTK. Extras can be combined, for example
pip install "structura-render[hero,gltf,usdz]".
Inputs
| Input | Requirement |
|---|---|
Java Structure .nbt / text .snbt |
base |
Litematic .litematic, v5–v7 |
base; --region Main selects one region |
Sponge .schem, v1–v3 |
base; v1 without a DataVersion needs normalization with core first |
Bedrock .mcstructure |
[bedrock]; translation can omit or approximate data |
Legacy .schematic |
[legacy] |
These are structure-to-image/model conversions; 3D models and images are not accepted as input. Native Java loading retains the source game version.
Python
from structura_render import export_structure, render_hero, render_projection, render_svg
image = render_projection("house.nbt", view="top", depth=(1, 4))
image.save("floor.webp", lossless=True, method=6)
render_svg("house.nbt", "floor.svg", view="top", depth=(1, 4))
render_hero("house.nbt", "house.png", orthographic=True)
export_structure("house.nbt", "house.glb")
The same functions accept an in-memory structura_core.Structure. PNG, SVG
and 3D entry points can write outputs atomically; render_projection returns
a Pillow image. WebP requires a Pillow build with WebP support.
Reported render approximations produce RenderWarning; use --strict or
strict=True on hero/3D exports to reject them before writing. VOX uses coloured
cubes; STL has no textures and may need repair for printing. Entities are static
approximations. Keep generated resource directories with glTF, OBJ and plain USD.
Documentation
- Release verification: core compatibility, installed packages and integration checks.
- Architecture: geometry pipeline, model catalogs and module boundaries.
- Rendering guide: Python API, layers, overlays, resource caches and output limits.
- Format recipes: SVG, USD, VOX, WebP and Bedrock input.
- Diagnostics and showcase:
structura-render doctor,doctor --render-test,examples --showcase. - Rendering coverage: supported blocks/entities and fidelity limits.
Every command supports --help. python -m structura_render is equivalent to
structura-render; existing dedicated render/export commands remain supported.
Metadata
Release files for structura-render 0.8.3
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 |
|---|---|---|---|---|
| structura_render-0.8.3.tar.gz | 316.4 kB | With provenance | Details for structura_render-0.8.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| structura_render-0.8.3-py3-none-any.whl | Python 3 | none | any | Details for structura_render-0.8.3-py3-none-any.whl |
Total release size: 583.6 kB
Release files / structura_render-0.8.3.tar.gz
| Download URL | structura_render-0.8.3.tar.gz |
|---|---|
| Size | 316.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3017b99e96795a980ea7bf14ca8927c23b6a6ff048a72560a82d045a67fd382c
|
|
BLAKE2b-256 checksum How to use checksums |
ab4d913aea6dce83581b62ca2c768becf9246081d8bf608e7278935c11ff70d9
|
| 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 Sep 12, 2026.
Transparency logRelease files / structura_render-0.8.3-py3-none-any.whl
| Download URL | structura_render-0.8.3-py3-none-any.whl |
|---|---|
| Size | 267.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a55d4270a060b7fcff95fbb6bacaf786647246205398ec699967009d6a4eeae9
|
|
BLAKE2b-256 checksum How to use checksums |
35a63f500c29fcf6451d5acaf3f1f0a604be2f687241bb7c2010e98d699380a9
|
| 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 Sep 12, 2026.
Transparency logSecurity for structura-render 0.8.3
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 2 files in this release have been uploaded with provenance metadata.
Attestation for structura_render-0.8.3.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 Sep 12, 2026.
Transparency logA 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.