Useful shapes to decorate MeshCat scenes.
Project description
meshcat-shapes
Useful shapes to decorate MeshCat scenes.
Installation
pip install meshcat-shapes
Shapes
meshcat_shapes.frame |
meshcat_shapes.point |
---|---|
PRs are welcome: open one if you have implemented a shape that can be useful to others.
Usage
import meshcat
import meshcat_shapes
vis = meshcat.Visualizer().open()
meshcat_shapes.frame(
vis["my_frame"],
axis_length=0.2,
axis_thickness=0.01,
opacity=0.8,
origin_radius=0.02,
)
meshcat_shapes.point(
vis["red_point"],
opacity=0.3,
radius=0.05,
color=0xFF0000,
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
meshcat-shapes-0.2.0.tar.gz
(26.4 kB
view details)
Built Distribution
File details
Details for the file meshcat-shapes-0.2.0.tar.gz
.
File metadata
- Download URL: meshcat-shapes-0.2.0.tar.gz
- Upload date:
- Size: 26.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.22.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b8fe9dc474cbedc9b43d8fb74d8b24eb7a92006978a2df10fe8a9c3824e0615 |
|
MD5 | c572aa4149995e08c3523a10755abd5f |
|
BLAKE2b-256 | e2c282113aa71c09db676aa0b37731f478053a9d7a846c9e76859a1735eceb05 |
File details
Details for the file meshcat_shapes-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: meshcat_shapes-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.22.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f141588229542609cdadd4152ab3c3b859a9e0fcc4ed69aceece53bd95075787 |
|
MD5 | e00ec5e517b300b2a4a31e99dd428a43 |
|
BLAKE2b-256 | 9f342317f76451f2a2c0437ddc3f2d848fcf5c4b1fde7a9eec64016be03af5f8 |