COMPAS ThreeJS
compas_threejs is a browser-based 3D viewer for COMPAS geometry. The Python
package serves a bundled Three.js frontend and exchanges geometry, scene, and
interaction messages through COMPAS Protobuf and WebSockets.
Installation
pip install compas_threejs
Quick start
from compas.geometry import Box
from compas_threejs.viewer import App
viewer = App()
viewer.add_geometry(Box(2, 3, 1))
viewer.start(show=True)
The viewer runs until interrupted with Ctrl+C.
Related projects
License
MIT, copyright COMPAS Association. See LICENSE.
Metadata
Release files for compas-threejs 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| compas_threejs-1.1.1.tar.gz | 685.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| compas_threejs-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / compas_threejs-1.1.1.tar.gz
| Download URL | compas_threejs-1.1.1.tar.gz |
|---|---|
| Size | 685.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d12d3071c6ef104d7bb6db89384d1404b86812a5e5335afdbe15f713f64ec9bb
|
|
BLAKE2b-256 checksum How to use checksums |
c3dcaf1cb7325d9d78bca8038fd7f2b183eaa0bfe286c752c6d71cc203eae72f
|
| 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 7, 2026.
Transparency logRelease files / compas_threejs-1.1.1-py3-none-any.whl
| Download URL | compas_threejs-1.1.1-py3-none-any.whl |
|---|---|
| Size | 694.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce8d3b7051b813eabe691539e01bc97479a3a43d80f860d6e3919a148e51a851
|
|
BLAKE2b-256 checksum How to use checksums |
15bc3164a2b40357a0c59a57803a53428d93d36eb41d6fdc02a2434bea64c7a7
|
| 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 7, 2026.
Transparency log