MeshCat.jl icon indicating copy to clipboard operation
MeshCat.jl copied to clipboard

Programmatically Take Pictures

Open ryanelandt opened this issue 5 years ago • 1 comments

This new visualizer is a lot lighter than DrakeVisualizer; well done!

I want to take pictures from this visualizer programmatically, but don't see a way to do this. I saw the animation demo, but it's not what I'm looking for. Is there a way to trigger the "save_image" button and save the image into a destination of your choice? I have something like save_mesh_cat_image("/home/rdeits/Downloads/image0001.png") in mind.

ryanelandt avatar Oct 02 '18 22:10 ryanelandt

+1. This might be difficult, due to having to open it in a browser. Perhaps a browser extension can do it?

traikodinev avatar Jan 20 '21 16:01 traikodinev

I can show it in Plots, display(render(vis))

But with savefig(..) it does not work

ga72kud avatar Nov 22 '22 15:11 ga72kud

This was added with https://github.com/rdeits/MeshCat.jl/pull/195.

ferrolho avatar May 22 '23 21:05 ferrolho