Peter, The ability to save directly to an HTML file as in the snippet you posted will be included in the upcoming 9.2 release. I had been wanting this feature myself, and implementing it made another change to the threejs viewer easier.
Regards, Joshua Campbell On Thursday, July 30, 2020 at 7:22:09 AM UTC-7, Peter Mueller wrote: > > If G is a 3d graphics object, then displaying it via > G.show(viewer='threejs') the web browser allows to save the corresponding > html code. However, for computing a large number of graphics on a server, > it would be more convenient to save the html code directly. I would have > expected something like > G.save('name.html', viewer='threejs') > should work. However, it does not and I don't see if the intended task is > implemented somehow. > > -- Peter Mueller > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/3871a485-2cf8-4aca-8e12-07a30ece27cao%40googlegroups.com.