AI Agent Hub
Back to plugins
dsh-crystal-viewer preview

dsh-crystal-viewer

Client Updated 2026.08.31

Run the following command in DeepSeek Harness:

dsh plugin install Nth-5620/dsh-crystal-viewer

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install Nth-5620/dsh-crystal-viewer in the DeepSeek Harness terminal to install the crystal-structure viewer plugin, source available at https://github.com/Nth-5620/dsh-crystal-viewer

About this plugin

In the crystal-structure solution and refinement pipeline, many pivotal calls boil down to a quick look: is the cell sensible, is the space group correct, have R1 and wR2 converged, are there large unassigned Q peaks, is the coordination geometry an octahedron or a square plane? dsh-crystal-viewer provides DeepSeek Harness with a natural inspection window so you can answer these questions at a glance without leaving your terminal session.

Built on a modified 3Dmol.js WebGL renderer, the plugin supports line, stick, ball-and-stick, CPK, and coordination-polyhedron display styles, and automatically closes the full SYMM plus LATT symmetry set so high-symmetry groups such as Fm-3m or Im-3 render a complete unit cell. Three packing modes (In Cell, Original, No Packing) let you toggle between the full symmetry cell, raw coordinates, and the true asymmetric unit. A live seven-group parameter panel surfaces refinement statistics, cell parameters, symmetry details, element and atom counts, and the top five Q peaks; the Q-peak layer is an independent, toggleable overlay. Registered as a DSH file previewer, clicking any .cif, .ins, .res, .xyz, .mol, or .pdb file in the file tree opens it directly in 3D within the sidebar.

The plugin is aimed at crystallographers and anyone whose workflow relies on rapid visual inspection during structure solution or refinement. It is a pure viewer, not a computation engine, and makes no refinement or geometry-solve decisions. All parsing and rendering run locally, and the interface follows the Harness light/dark theme automatically.

Screenshots

Use Cases

  • Quick inspection of unit-cell parameters and space group during structure solution
  • Judging R1 and wR2 convergence and remaining Q peaks across refinement cycles
  • Checking metal-center coordination polyhedra (octahedron, square plane, tetrahedron, etc.)

Best For

  • Single-crystal X-ray and electron diffraction researchers
  • MOF, coordination-compound, and metal-organic-framework structure solvers
  • Structural chemists and computational crystallographers needing instant 3D inspection