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 2.0.0
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 |
|---|---|---|---|---|
| compas_threejs-2.0.0.tar.gz | 743.5 kB | With provenance | Details for compas_threejs-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| compas_threejs-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for compas_threejs-2.0.0-py3-none-any.whl |
Total release size: 1.5 MB
Release files / compas_threejs-2.0.0.tar.gz
| Download URL | compas_threejs-2.0.0.tar.gz |
|---|---|
| Size | 743.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
198b6dc1d81af4045176baf2d9c55faa753cf43e17e5ce92c971fdf12655d36b
|
|
BLAKE2b-256 checksum How to use checksums |
b6191bcdcf67a6b7693af9f0383c46a2854a3e4bc7f13c1f8f5876a2b8df4877
|
| 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 Nov 17, 2026.
Transparency logRelease files / compas_threejs-2.0.0-py3-none-any.whl
| Download URL | compas_threejs-2.0.0-py3-none-any.whl |
|---|---|
| Size | 748.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c64a631abd3824849ff8682e83c13b1dae3b571a23f45b62a66d9fd8fb23c94
|
|
BLAKE2b-256 checksum How to use checksums |
5cfe6982622d7ffdf0a44c7507d50d79dae0f651a5e95c715159aaf47a2b941a
|
| 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 Nov 17, 2026.
Transparency logSecurity for compas-threejs 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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for compas_threejs-2.0.0.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 Nov 17, 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.