[Chimera-users] Command line export to webgl

Greg Couch gregc at cgl.ucsf.edu
Tue Dec 17 13:53:50 PST 2013


To export 3D data from chimera, you either (a) need a chimera window 
(can be minimized) or (b) need to use the headless version of chimera 
(only available for Linux).

On the command line, if you export to a file that is named with a .html 
suffix, it will use WebGL, e.g.,

export filename.html

 From Python:

     from chimera import exports
     exports.doCommand('WebGL', 'filename.html')

We still consider the WebGL support experimental, and it has problems 
with large structures, but please check it out.

     HTH,

     Greg

On 12/17/2013 12:03 PM, Thomas Hrabe wrote:
> Dear Chimera Team,
>
> I was curious if there was a functionality to export chimera scenes to webgl through the command line, without having to open the chimera window.
> Is there a set of python script commands that would do it?
>
> Thank you for your support,
> Thomas
>



More information about the Chimera-users mailing list