Command line rendering of chemical structures in Blender

From Wiki
Revision as of 19:08, 29 January 2020 by 10.0.7.29 (talk)
Jump to navigation Jump to search

go back to Main Page, Group Pages, Núria López and Group, Scripts_for_VASP


in preparation: Here is a procedure on how to take a CONTCAR and convert it to high quality PNG image.

Installing Blender

  • Blender is installed by downloading the code (https://www.blender.org/download/) unpacking it to a path of your choosing.
  • In the program folder you will find an executable called blender
example: /usr/bin/blender-2.80-linux-glibc217-x86_64
  • To launch blender you will execute (if you use the path from previous line)
/usr/bin/blender-2.80-linux-glibc217-x86_64/blender
  • you do not need to launch blender at this point

Preparing the structure

I am assuming that you are more or less familiar with the use of vtst-scripts (http://theory.cm.utexas.edu/vtsttools/scripts.html), openbabel (http://openbabel.org/wiki/Main_Page) or just check out Scripts for VASP

Preparing the blender scene

Rendering in the command line

Back to Núria López and Group / Scripts_for_VASP.