3D visualization of small compounds
Project description
PenguineMol3D
PenguineMol3D is an open source Python3 package, which utilizes OpenGL python binding (https://pyopengl.sourceforge.net) for rendering of small compounds' 3D models.
Initially, the RDKit Mol object is created from data in a file (e.g, MOL\SDF, MOL2 format) provided by user; the Mol object is further passed as an argument to the Mol3D class constructor, which generates a 3D model based on atom coordinates of the Mol object conformer. During the initialization stage (before running an event loop) user has to setup a scene by creating MolecularScene object and adding all necessary components like molecule and light sources as it is demonstrated in examples. As a drawing surface for rendering can be used any surface compatible with OpenGL; particularly, provided by such GUI libaries as GLFW (used in examples), PyGame, PyQt, PySide, wxPython, Tkinter + Togl widget, etc.
Demostration of PenguineMol3D rendering
On the image below is demonstrated Penguinone (https://pubchem.ncbi.nlm.nih.gov/compound/12564106) rendered by PenguineMol3D:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file PenguinMol3D-0.0.1.tar.gz.
File metadata
- Download URL: PenguinMol3D-0.0.1.tar.gz
- Upload date:
- Size: 46.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e399e68ec12b3347c7b718ace16b81d46cc5b686b7b864c87e4096cf8acd891a
|
|
| MD5 |
8476f4adee91c14d384d0c2343d23c49
|
|
| BLAKE2b-256 |
dd985bb607e1565d169aa2b68b8626e6157b6d6b25cab2af069b67727a953949
|