Rendering

After you have created a structure, you can export nice images for publications or presentations by rendering.

GUI panel

Please read Rendering page for the GUI setup.

Python

The Render object controls various settings such as the viewport and the resolution of the generated image.

In order to render a Batoms object, you need to attach a Render object to your Batoms object. Then we asked for the image.

from ase.build import molecule
from batoms import Batoms
atoms = molecule('CH4')
ch4 = Batoms(label = 'ch4', from_ase = atoms)
ch4.render.viewport = [1, 0, 0]
ch4.render.engine = 'eevee'
ch4.render.resolution = [1000, 1000]
ch4.get_image(output = 'ch4.png')

Parameters

Please refer to the following modules to see the details.