Reset axis origin

Please consider submitting issues to GitHub which will enable tracking bug reports and suggestions. These will be closed and updated automatically when they are fixed – including notifications.

I believe this to be a bug with Avogadro:
(Please describe your bug or issue)

Environment Information

Avogadro version: 1.102.1
Operating system and version: windows 11

Hello,

I’m just getting started with computational chemistry techniques or avogrado, orca and vmd combination so please forgive the basic question(s).

My issue is when switching between files to visually compare electrostatic potentials displayed as surfaces in avogadro my molecules move around as the focus location in avogadro remains the same but my molecules are located in different areas on the axes.

Any advice/any way I can apply the 0,0,0 coordinate as the centre of my molecules allowing for easy switching/visualisation?

Cheers,

Billy

It might help to have a screenshot or something because I’m not totally sure I know what you mean.

But you can use the align tool to put a particular atom at the origin. Double-click on the atom.

If you want a consistent frame of reference, you can go through, click on the atom for the origin and a second atom for the x, y or z axis and click the “Align” button. The second atom will be projected onto the specified axis and the molecule will be rotated accordingly.

Alternately, install the latest continuous build and the View => Align to Axes command should do a good job providing a consistent view after you switch molecules.

That’s a very helpful explanation of the align tool, thank you! I will use it going forward when creating new files