wagtail_3display
Wagtail 3D model viewer block using https://threejs.org/.
Installation
-
Install the package using pip:
pip install wagtail-3display
-
Add
wagtail_3displayto yourINSTALLED_APPSinsettings.py:INSTALLED_APPS = [ ... 'wagtail_3display', ... ]
-
Run migrations to create necessary database tables:
python manage.py migrate wagtail_3display
-
Collect static files:
python manage.py collectstatic
-
Ensure you have the necessary static files in your templates:
<script src="{% static 'wagtail_3display/js/3display.js' %}"></script>
Usage
-
In your Wagtail admin, add a new block of type "ThreeDisplayBlock" to your StreamField.
-
Upload a 3D model file (e.g., .glb, .gltf) using the block's file chooser.
-
Save the page and view it on the frontend to see the 3D model rendered.
Metadata
Release files for wagtail-3display 1.0.5
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 |
|---|---|---|---|---|
| wagtail_3display-1.0.5.tar.gz | 173.3 kB | Without provenance | Details for wagtail_3display-1.0.5.tar.gz |
Release files / wagtail_3display-1.0.5.tar.gz
| Download URL | wagtail_3display-1.0.5.tar.gz |
|---|---|
| Size | 173.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
967437671b877096b52acb850e4c60d7b07c59f3d685328979894801faaf004f
|
|
BLAKE2b-256 checksum How to use checksums |
7ca4ca992da5084ba2a5ee7d7615ee3d08df8874147ad915979ab329f41ec793
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.6
|
Security for wagtail-3display 1.0.5
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.