Skip to content

Commit

Permalink
deploy: 8468118
Browse files Browse the repository at this point in the history
  • Loading branch information
ghutchis committed Oct 28, 2024
1 parent be274d0 commit 5aa2aae
Show file tree
Hide file tree
Showing 352 changed files with 17,319 additions and 23,388 deletions.
Binary file added .doctrees/develop/avogadroapp.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .doctrees/develop/classlist.doctree
Binary file not shown.
Binary file added .doctrees/develop/qtplugins.doctree
Binary file not shown.
Binary file modified .doctrees/develop/structure.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
42 changes: 42 additions & 0 deletions _sources/develop/avogadroapp.md.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
(develop-avogadroapp)=

# Avogadro App

The `avogadroapp` project provides a fairly thin set of classes
around the `avogadrolibs` core. Among other things, it provides
scripts for bundling the desktop app on MacOS and Windows,
as well as code to open / save files, load language translations,
the about dialog, etc.

`aboutdialog`
: Displays the about dialog, including some versioning

`application`
: A minimal class mainly to handle `FileOpen` events from the operating system, e.g. to open files on launch

`avogadro`
: The main command-line program. Mostly handles initialization, including loading translations and the OpenGL context

`backgroundfileformat`
: Code for opening / saving files in a background thread to retain interactivity

`mainwindow`
: The main interface class. Handles loading tools, render types, etc. Most changes for `avogadroapp` probably involve this code.

`menubuilder`
: Code to load and sort the menu items from `avogadroapp` and plugin scripts

`renderingdialog`
: A settings dialog for various rendering options

`rpclistener`
: Code to handle [Remote Procedure Calls (RPC)](rpc) from external scripts or programs

`tdxcontroller`
: Contributed code to handle the 3DConnexion SpaceMouse device.

`tooltipfilter`
: A workaround to ensure tool buttons have tooltips

`viewfactory`
: Code to create multiple views on the same molecule
2 changes: 2 additions & 0 deletions _sources/develop/classlist.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
:glob: true
:maxdepth: 1

avogadroapp
core
io
molequeue
qtgui
qtplugins
rendering
vtk
```
109 changes: 109 additions & 0 deletions _sources/develop/qtplugins.md.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
(develop-qtplugins)=

# Avogadro::QtPlugins

There are a wide variety of plugins in separate directories, providing
tools, render types, and commands. Some may provide more than one of these
for full functionality (e.g., symmetry perception includes both a command and a render type).

What follows is a list of core plugins and brief descriptions. A few plugins are listed in multiple places:

## Tools

- **aligntool** - align molecule to a frame of reference
- **bondcentrictool** - bond centric manipulation (length, angle, dihedral)
- **editor** - freehand drawing of atoms and bonds
- **label** - edit atom labels (also a render type)
- **manipulator** - move and rotate atoms and selections
- **measuretool** - measure bond lengths, angles, and dihedrals
- **navigator** - move the camera view
- **playertool** - play animations / trajectories
- **selectiontool** - select atoms individually or in a rectangle
- **templatetool** - insert ligands, functional groups, and metal geometries

## Render Types

- **ballandstick** - the default ball-and-stick render type
- **cartoons** - protein backbone and cartoon renderings
- **closecontacts** - close contacts between atoms
- **dipole** - dipole moment
- **force** - forces on atoms (from vibrations or molecular dynamics)
- **label** - atom and other labels - also a tool
- **licorice** - stick or licorice rendering
- **noncovalent** - hydrogen, chalcogen bonds and other non-covalent interactions
- **meshes** - surfaces, orbitals, etc.
- **overlayaxes** - reference axes
- **qtaim** - QTAIM rendering (critical points, etc.), also a command
- **symmetry** - rendering of symmetry elements, also a command
- **vanderwaals** - van der Waals spheres
- **wireframe** - wireframe line rendering

## Main Commands

- **applycolors** - Apply colors to atoms (e.g., by partial charge, etc.)
- **bonding** - Assign bonds and bond orders, break bonds
- **coordinateeditor** - Edit, copy and paste atoms and 3D coordinates
- **copypaste** - Cut, copy and paste commands
- **crystal** - Commands for handling basic crystal structure properties
- **focus** - Focus and unfocus the view on a selection
- **forcefield** - Optimize and run force field calculations, including via scripts
- **hydrogens** - Add, remove, and adjust hydrogen atoms
- **insertdna** - Insert DNA fragments
- **insertfragment** - Insert molecules
- **lineformatinput** - Insert from SMILES or InChI line formats
- **molecularproperties** - Molecular property dialogs
- **openbabel** - Open Babel commands, including file formats, force fields, charges, etc.
- **propertytables** - Atom, bond, angle, and torsion property spreadsheets
- **select** - Selection commands
- **spacegroup** - Handle filling and standardizing the unit cell based on space groups
- **surfaces** - Generate molecular surfaces and orbitals
- **symmetry** - Perceive molecular symmetry and symmetrize coordinates
- **vibrations** - Animate vibrations

## Script Commands

- **commandscripts** - Add menu commands from Python scripts
- **configurepython** - Configure the Python environment to use for scripts
- **forcefield** - Optimize and run force field calculations, including via scripts
- **plugindownloader** - Download and install Python scripts
- **quantuminput** - Use Python scripts for many quantum chemical input generators (e.g., Orca, Gaussian, Q-Chem, etc.)
- **scriptcharges** - Assign atomic partial charges using Python scripts (e.g., from `xtb` or `antechamber`)
- **scriptfileformats** - Import various file formats using Python scripts

## Input Generator Commands

- **apbs** - Input for the APBS program
- **cp2kinput** - Input for CP2K
- **gamessinput** - Input for GAMESS-US
- **lammpsinput** - Input for LAMMPS
- **openmminput** - Input for OpenMM simulations
- **quantuminput** - Use Python scripts for many quantum chemical input generators (e.g., Orca, Gaussian, Q-Chem, etc.)

## Import Commands

- **fetchpdb** - Fetch molecules from the Protein Data Bank (PDB)
- **importpqr** - Import molecules from the Pitt Quantum Repository
- **networkdatabases** - Fetch molecules by name from the NIH Chemical Resolver

## Export Commands

- **3dmol** - Export the current view for 3dmol.js rendering in a webpage
- **ply** - Export a 3D PLY format file of the current view
- **povray** - Export a POV-Ray scene of the current view
- **svg** - Export a SVG render of the current image
- **vrml** - Export a VRML / WRL file of the current view

## Plotting Commands

- **spectra** - plot vibrational (IR, Raman), electronic (UV), NMR and other computed spectra
- **plotpdf** - plot the probability distribution function (PDF)
- **plotrmsd** - plot RMSD across multiple coordinate sets (e.g., in an MD trajectory)
- **plotxrd** - plot simulated x-ray diffraction patterns from a crystal structure

## Miscellaneous

- **centroid**
- **coloropacitymap**
- **customelements**
- **resetview**
- **yaehmop**
11 changes: 7 additions & 4 deletions _sources/develop/structure.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,20 @@ In practice, most functionality and features are provided by `[avogadrolibs](htt

The main project uses various other Open Chemistry modules to function.

[avogadro-i18n](https://github.com/OpenChemistry/)
[avogadroapp](https://github.com/OpenChemistry/avogadroapp)
: Code to handle [the desktop app events and interface](develop-avogadroapp)

[avogadro-i18n](https://github.com/OpenChemistry/avogadro-i18n)
: Language translations and localization handled through [Weblate](https://hosted.weblate.org/engage/avogadro/)

[avogenerators](https://github.com/OpenChemistry/)
[avogenerators](https://github.com/OpenChemistry/avogenerators)
: Scripts providing input generator dialogs for various computational packages such as Gaussian, Orca, etc.

[crystals](https://github.com/OpenChemistry/)
[crystals](https://github.com/OpenChemistry/crystals)
: Example crystal structures provided through File ⇒ Import ⇒ Crystal

[fragments](https://github.com/OpenChemistry/fragments)
: Common inorganic ligands and functional groups provided through the Template Tool

[molecules](https://github.com/OpenChemistry/)
[molecules](https://github.com/OpenChemistry/molecules)
: Common molecules provided through Build ⇒ Insert ⇒ Molecule
2 changes: 1 addition & 1 deletion _static/scripts/bootstrap.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions _static/scripts/fontawesome.js

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions _static/scripts/fontawesome.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _static/scripts/pydata-sphinx-theme.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _static/scripts/pydata-sphinx-theme.js.map

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions _static/styles/bootstrap.css

This file was deleted.

1 change: 0 additions & 1 deletion _static/styles/bootstrap.css.map

This file was deleted.

32 changes: 31 additions & 1 deletion _static/styles/pydata-sphinx-theme.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _static/styles/pydata-sphinx-theme.css.map

Large diffs are not rendered by default.

165 changes: 0 additions & 165 deletions _static/vendor/fontawesome/6.5.2/LICENSE.txt

This file was deleted.

5 changes: 0 additions & 5 deletions _static/vendor/fontawesome/6.5.2/css/all.min.css

This file was deleted.

2 changes: 0 additions & 2 deletions _static/vendor/fontawesome/6.5.2/js/all.min.js

This file was deleted.

Binary file not shown.
Binary file not shown.
23 changes: 8 additions & 15 deletions _static/webpack-macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,23 @@
AUTO-GENERATED from webpack.config.js, do **NOT** edit by hand.
These are re-used in layout.html
-->
{# Load FontAwesome icons #}
{% macro head_pre_icons() %}
<link href="{{ pathto('_static/vendor/fontawesome/6.5.2/css/all.min.css', 1) }}?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="{{ pathto('_static/vendor/fontawesome/6.5.2/webfonts/fa-solid-900.woff2', 1) }}" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="{{ pathto('_static/vendor/fontawesome/6.5.2/webfonts/fa-brands-400.woff2', 1) }}" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="{{ pathto('_static/vendor/fontawesome/6.5.2/webfonts/fa-regular-400.woff2', 1) }}" />
{% endmacro %}

{% macro head_pre_assets() %}
<!-- Loaded before other Sphinx assets -->
<link href="{{ pathto('_static/styles/theme.css', 1) }}?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
<link href="{{ pathto('_static/styles/bootstrap.css', 1) }}?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
<link href="{{ pathto('_static/styles/pydata-sphinx-theme.css', 1) }}?digest=dfe6caa3a7d634c4db9b" rel="stylesheet" />
<link href="{{ pathto('_static/styles/theme.css', 1) }}?digest=26a4bc78f4c0ddb94549" rel="stylesheet" />
<link href="{{ pathto('_static/styles/pydata-sphinx-theme.css', 1) }}?digest=26a4bc78f4c0ddb94549" rel="stylesheet" />
{% endmacro %}

{% macro head_js_preload() %}
<!-- So that users can add custom icons -->
<script src="{{ pathto('_static/scripts/fontawesome.js', 1) }}?digest=26a4bc78f4c0ddb94549"></script>
<!-- Pre-loaded scripts that we'll load fully later -->
<link rel="preload" as="script" href="{{ pathto('_static/scripts/bootstrap.js', 1) }}?digest=dfe6caa3a7d634c4db9b" />
<link rel="preload" as="script" href="{{ pathto('_static/scripts/pydata-sphinx-theme.js', 1) }}?digest=dfe6caa3a7d634c4db9b" />
<script src="{{ pathto('_static/vendor/fontawesome/6.5.2/js/all.min.js', 1) }}?digest=dfe6caa3a7d634c4db9b"></script>
<link rel="preload" as="script" href="{{ pathto('_static/scripts/bootstrap.js', 1) }}?digest=26a4bc78f4c0ddb94549" />
<link rel="preload" as="script" href="{{ pathto('_static/scripts/pydata-sphinx-theme.js', 1) }}?digest=26a4bc78f4c0ddb94549" />
{% endmacro %}

{% macro body_post() %}
<!-- Scripts loaded after <body> so the DOM is not blocked -->
<script src="{{ pathto('_static/scripts/bootstrap.js', 1) }}?digest=dfe6caa3a7d634c4db9b"></script>
<script src="{{ pathto('_static/scripts/pydata-sphinx-theme.js', 1) }}?digest=dfe6caa3a7d634c4db9b"></script>
<script defer src="{{ pathto('_static/scripts/bootstrap.js', 1) }}?digest=26a4bc78f4c0ddb94549"></script>
<script defer src="{{ pathto('_static/scripts/pydata-sphinx-theme.js', 1) }}?digest=26a4bc78f4c0ddb94549"></script>
{% endmacro %}
Loading

0 comments on commit 5aa2aae

Please sign in to comment.