Additional shapes to decorate MeshCat scenes (frames, text, ...).
conda install -c conda-forge qpsolvers
pip install meshcat-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.
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")