1

I'm looking for free (as in freedom) software for Linux that allows me to visualize simple crystal lattices and produce images such as this:

NaCl structure

Good features would be the ability to easily choose colors, add labels, select how many unit cells to show and add custom geometry like in the picture (faces). I should be able to create the structure from scratch in the software or using a well-documented non-proprietary file format. It shouldn't be too tied down to actual chemistry: I should be able to create "quasi-atoms", e.g. as stand-ins for molecules or whole classes of atoms.

2

I would suggest taking a look at the IVisual kernel for Jupyter - it is an port of the Visual Python library to Jupyter - as such it lets you model 3D structures very flexibly from within your browser - there is even an animated structure very similar to what you are looking for implemented in less than 100 lines including the animation.

  • Free, Gratis & Open Source
  • Cross Platform
  • Flexible any 3D modelling not just crystals
  • Non-propitiatory language
  • Easily add labels, change colours, etc.
  • Jupyter Notepads are stored in a plain text format and able to be exported to a number of other formats.
  • JupyterHub would allow live models on a server.

The AtomicSolid Example

enter image description here

1

To me it seems like a lot of people are trying to write software for this, but none of it is user-friendly or polished. In particular, documentation is usually very bad. Here is some of the software I have tried so far:

  • Jmol has a Crystal community apparently, but there isn't any documentation on how to actually create and display crystals with it
  • Gcrystal "is now part of the Gnome Chemistry Utils" but doesn't show up on their website (although they do have an entry for it on their manuals page). I installed it from my distribution's repository (where it was still available as a standalone package under its own name) and tried it, but all I got was a blank screen even after adding atoms. It also had a tendency to segfault.
  • Avogadro at least has basic tutorials on its website, but the one on crystals is yet to be written. Nobody can write it, however, because the edit link takes you to a CloudFlare 404 page with no editing capabilities. I tried using it but the atoms kept randomly disappearing (all of them at once) so I didn't get far before becoming annoyed with it.

With the exception of Jmol, I only found the software through my distribution's package manager. None of the other applications show up in a Google search for "crystal visualization".

1

There are to more free options (free more like a beer though):

They both go beyond just visualization and offer crystal structure analysis. Olex2 also is often being used for complete crystal structure refinement.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.