Coder Social home page Coder Social logo

wangvei / beautiful-atoms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beautiful-atoms/beautiful-atoms

0.0 0.0 0.0 13.11 MB

Python module for drawing and rendering beautiful atoms and molecules using Blender.

Home Page: https://beautiful-atoms.readthedocs.io/en/latest/

License: GNU General Public License v3.0

Python 100.00%

beautiful-atoms's Introduction

Beautiful Atoms

Build beautiful_atoms main image Test batoms blender plugin

Batoms is a Python package for editing and rendering atoms and molecule objects using Blender. A Python interface that allows for automating workflows.

Features:

  • Model: space-filling, ball-stick, polyhedral, cavity and so on.
  • Supported File type: cif, xyz, cube, pdb, json, VASP-out and so on.
  • Supported structure: ASE and Pymatgen
  • Volumetric data (Isosurface)
  • Ribbon diagram for protein
  • Site occupancy
  • Animation
  • GUI
  • Support periodic boundary conditions
  • Support fetch structures from MaterialProject, Pubchem and RSCB
  • Flexible: Python script, run interactively or in the background.
  • High quality rendering: 3D models
  • Free, Open Source: Easy to download and install.
  • Cross-platform: (Linux, Windows, macOS)

How to use

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

View and edit structure in Jupyter Notebook

Another package, weas-widget, allows users to visualize and edit with atomistic structures in Jupyter Notebook.

How to contribute

Editor

We recommend using Visual Studio Code with the Blender extension.

Test

We recommend using pytest-blender. To run the tests, run:

pip install pytest-blender
blender_python="$(pytest-blender)"
$blender_python -m ensurepip
# Install the development dependencies:
$blender_python -m pip install -r test-requirements.txt
cd tests
pytest

Pre-commit

To install the pre-commit hooks, run:

$ pre-commit install

Contact

beautiful-atoms's People

Contributors

superstar54 avatar alchem0x2a avatar uliaschauer avatar andrew-s-rosen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.