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 |
meshcat_shapes.textarea |
---|---|---|
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,
)
meshcat_shapes.textarea(vis["text"], "super easy")
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.3.0.tar.gz
(45.1 kB
view details)
Built Distribution
File details
Details for the file meshcat-shapes-0.3.0.tar.gz
.
File metadata
- Download URL: meshcat-shapes-0.3.0.tar.gz
- Upload date:
- Size: 45.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.22.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 814bc2d1dd09692abe98aeef858bd6406980e185eefa5e0650d5a41c2dba600b |
|
MD5 | d78dd529aced37f11caa2214b964f04f |
|
BLAKE2b-256 | 04c184d8774ec2309c940813e47c6b2350db6ccfdf3842a536dd7bdcfb680275 |
File details
Details for the file meshcat_shapes-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: meshcat_shapes-0.3.0-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.22.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce85f5383299d981debd6c1ba42f4396172beeb5bd1be01ef6518d5c9639c22e |
|
MD5 | 8f6e92e8772920d2ec9dd7219b390f5b |
|
BLAKE2b-256 | f9d0823fb550aace4c4f9240192802ea7cc4586e5ec144bdc0888fe927d346cc |