{"library":"meshcat-shapes","title":"meshcat-shapes","description":"Useful shapes to decorate MeshCat scenes. Current version 1.0.0, stable. Release cadence is irregular.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install meshcat-shapes"],"cli":null},"imports":["import meshcat_shapes","from meshcat_shapes import frame","from meshcat_shapes import point","from meshcat_shapes import textarea"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import meshcat\nimport meshcat_shapes\n\nvis = meshcat.Visualizer()\nvis.open()\n\n# Draw a 3-axis frame at origin\nmeshcat_shapes.frame(vis, \"world/frame\", opacity=1.0)\n\n# Draw a point\nmeshcat_shapes.point(vis, \"world/point\", radius=0.05, color=0xff0000)\n\n# Draw a text area\nmeshcat_shapes.textarea(vis, \"world/text\", \"Hello, MeshCat!\", width=0.5, height=0.2)","lang":"python","description":"Creates a MeshCat visualizer and adds a frame, a point, and a text area.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}