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 hashes)
Built Distribution
Close
Hashes for meshcat_shapes-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f141588229542609cdadd4152ab3c3b859a9e0fcc4ed69aceece53bd95075787 |
|
MD5 | e00ec5e517b300b2a4a31e99dd428a43 |
|
BLAKE2b-256 | 9f342317f76451f2a2c0437ddc3f2d848fcf5c4b1fde7a9eec64016be03af5f8 |