Fully Agnostic Atomic Render Environment
FAARE is a pure-Python package for automated rendering of VASP structures on headless servers. Note that FAARE is designed for Linux Debian/Ubuntu and is not intended to work on other operating systems.
Installation
Installing Blender
FAARE is designed to operate with Blender LTS 3.6 and assumes Blender is installed in the /opt folder. Below, a brief set of instructions are provided to install Blender.
sudo apt install -y libxrender-dev libxxf86vm-dev libxfixes-dev libxi-dev libxkbcommon-dev libsm-dev
sudo mkdir /opt
cd /opt
sudo wget https://ftp.halifax.rwth-aachen.de/blender/release/Blender3.6/blender-3.6.7-linux-x64.tar.xz
sudo tar -xvf blender-3.6.7-linux-x64.tar.xz
sudo rm blender-3.6.7-linux-x64.tar.xz
PyPi
First, make sure the required dependencies are installed
sudo apt install python3-venv
Next, create a virtual environment (compliant with PEP668) and activate it.
python3 -m venv ~/.venv
source ~/.venv/bin/activate
Finally, install faare in your virtual environment. The installation script
will automatically download all dependencies.
pip install faare
Testing your installation
Create a new folder and place in the folder an OUTCAR file. Next, create a
run.py file that has the following contents
from faare import Faare
import os
def main():
ROOT = os.path.dirname(__file__)
faare = Faare()
faare.build_render(os.path.join(ROOT, 'OUTCAR'),
os.path.join(ROOT, 'manifest.json'))
faare.execute_render(os.path.join(ROOT, 'manifest.json'),
os.path.join(ROOT, 'render.png'),
os.path.join(ROOT, 'renderlog.txt'))
if __name__ == '__main__':
main()
Save the file and run it using python run.py. Three files should be written
in the folder:
render.png: The picture of your system.renderlog.txt: A log file on the rendering procedure.manifest.json: A manifest file containing all the Blender settings.
Updating your installation
Assuming you are logged into your Python virtual environment, run
pip install faare --upgrade
Manual
See: https://faare-inorganic-materials-chemistry-6980722ff50f253a4f45dd9bd22.pages.tue.nl/
Metadata
Release files for faare 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| faare-0.4.1.tar.gz | 3.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| faare-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.4 MB
Release files / faare-0.4.1.tar.gz
| Download URL | faare-0.4.1.tar.gz |
|---|---|
| Size | 3.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b72d383e747f60f0a9d84e4dc651a3acea34b2b14df445acfd73c79f1130e17b
|
|
BLAKE2b-256 checksum How to use checksums |
1aba88369457ca3316705d364a4d5a85d3bf051400e39237640b8044aafdd0f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Release files / faare-0.4.1-py3-none-any.whl
| Download URL | faare-0.4.1-py3-none-any.whl |
|---|---|
| Size | 28.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
168ce7c5cf9200a5afcd28e08a2a43ea2dd8c534e547fc0f80b7e5078f7ccec2
|
|
BLAKE2b-256 checksum How to use checksums |
a42db707e2d47183933f652939512c52d9acb7c10f9eaa27d601ab701d563fd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|