Skip to content

Blendase is a Python package for drawing and rendering atoms, molecules and crystal using blender.

License

Notifications You must be signed in to change notification settings

beautiful-atoms/beautiful-atoms-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beautiful Atoms

batoms_api is a API for Beautiful Atoms package. Beautiful Atoms is a Python package for editing and rendering atoms and molecules objects using blender. A Python interface that allows for automating workflows.

Features:

  • Model: space-filling, ball-stick, polyhedral, cavity and so on.
  • File type: cif, xyz, cube, pdb, json, VASP-out and so on.
  • Volumetric data (Isosurface)
  • Animation
  • High quality rendering: 3D models
  • Free, Open Source: Easy to download and install.
  • Cross-platform: (Linux, Windows, macOS)

Author

How to use

On command line:

batoms h2o.xyz -m '1'

Use python script:

from ase.build import molecule
from batoms_api import render

atoms = molecule('H2O')
# Windows
input = {'output': 'D:\\projects\\batoms\\figs\\h2o.png'}
# Linux
input = {'output': 'figs/h2o.png'}
render(atoms, render_input = input)

Please vist: https://beautiful-atoms.readthedocs.io/en/latest/

About

Blendase is a Python package for drawing and rendering atoms, molecules and crystal using blender.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages