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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file compas_threejs-1.0.1.tar.gz.
File metadata
- Download URL: compas_threejs-1.0.1.tar.gz
- Upload date:
- Size: 320.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b388ecf74bccecceaf1b69549000fd5ab73b5143167665491ee76afee6817605
|
|
| MD5 |
b5ae6c7f8fa93c2b760909df2d33854e
|
|
| BLAKE2b-256 |
c6ca58c95000294bd9d033443e25c30a0bbb28a421bd443eb1c63436d6d6946b
|
Provenance
The following attestation bundles were made for compas_threejs-1.0.1.tar.gz:
Publisher:
release.yml on compas-dev/compas_threejs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
compas_threejs-1.0.1.tar.gz -
Subject digest:
b388ecf74bccecceaf1b69549000fd5ab73b5143167665491ee76afee6817605 - Sigstore transparency entry: 2452706398
- Sigstore integration time:
-
Permalink:
compas-dev/compas_threejs@4733fd5988a4038e1248be17eb575c163c1fa723 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/compas-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4733fd5988a4038e1248be17eb575c163c1fa723 -
Trigger Event:
push
-
Statement type:
File details
Details for the file compas_threejs-1.0.1-py3-none-any.whl.
File metadata
- Download URL: compas_threejs-1.0.1-py3-none-any.whl
- Upload date:
- Size: 331.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a3ba05c801b5353fbb6fe261083bcf6ad09ee90ba72ef276eb86cc83315411d
|
|
| MD5 |
e0ac03dd58d00a2f73aa539e0105ddc2
|
|
| BLAKE2b-256 |
ea1af52f9d0559c26d5bf02359fb65b994d64f04bbbd527d1b9cebe8ca9b92ce
|
Provenance
The following attestation bundles were made for compas_threejs-1.0.1-py3-none-any.whl:
Publisher:
release.yml on compas-dev/compas_threejs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
compas_threejs-1.0.1-py3-none-any.whl -
Subject digest:
5a3ba05c801b5353fbb6fe261083bcf6ad09ee90ba72ef276eb86cc83315411d - Sigstore transparency entry: 2452706419
- Sigstore integration time:
-
Permalink:
compas-dev/compas_threejs@4733fd5988a4038e1248be17eb575c163c1fa723 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/compas-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4733fd5988a4038e1248be17eb575c163c1fa723 -
Trigger Event:
push
-
Statement type: