For visualization of imported or generated data in Blende.
One example workflow for visualizing calculated molecular structures goes like this: calculate model >> export .mol file >> import .mol into converter (Open Babel) >> export .pdb >> import .pdb into Blender (Atomic Blender) >> adjust model geometry attributes as needed >> configure render settings >> render >> export as video or image file. (Make sure that the Atomic Blender add-on is enabled under EDIT tab >> PREFERENCES so that you can import a .pdb file. Additionally, the xyz file format may be substituted in place of the pdb since Blender can accept both).
The SCRIPTING tab in Blender can be found on the upper-right-hand side of the interface. Once the tab is opened, you can load a copy of Python scripts in directly through copy-paste. It is also possible to copy the code on the left-side of the scripting interface by selecting the INFO button, pressing SELECT ALL, Ctrl + C, then Ctrl + V on the main scripting panel found directly under the SCRIPTING tab. Before running the script, be sure to check that the command "import bpy" is inserted at the top of the script. If it's not there, type it in.
Other examples simply involve generating objects like waves and vector fields and converting them into 3D meshes using the built-in Blender Python scripting environment.
Blender keeps track of all your actions in the program, so you should be able to automate any set of steps or make them repeatable and exportable by experimenting with the directions above.
Enjoy.
Also, I have a free Flickr album of some rendered objects available: https://www.flickr.com/photos/194516106@N05/albums
Links to programs used in the workflow example: |
---|
Avogadro2 |
MolView |
Open Babel |
Atomic Blender |
If you need more learning resources on using Blender for scientific purposes, view more resources on the Blender-Common-Tools repository: https://github.com/OJB-Quantum/Blender-Common-Tools