PittQuantumRepository icon indicating copy to clipboard operation
PittQuantumRepository copied to clipboard

Add button to view dipole vector

Open ghutchis opened this issue 9 years ago • 4 comments

Next to the dipole moment property, there should be a small button to toggle viewing the dipole moment vector:

glviewer.addArrow({end: new $3Dmol.Vector3(1.0, 2.0, 3.0), color: "black", wireframe: false});

The components are in pm7: dipole (the pm7 will change with the calculation method)

"dipole": [ "-0.001", "-0.001", "-0.074" ],

ghutchis avatar Feb 11 '16 02:02 ghutchis

See 9c699e1. This is currently a work in progress as soon as @vonbearshark finishes the new JS build.

RitwikGupta avatar Feb 11 '16 10:02 RitwikGupta

978199a6440971a6bc49b278583a12b57ac733ee adds the dipole vector on document load. We can make this a button.

RitwikGupta avatar Mar 11 '16 01:03 RitwikGupta

I don't think we want this to show by default. For some molecules, this will look cluttered.

ghutchis avatar Mar 11 '16 03:03 ghutchis

No worries, this is temporary till we add a button

RitwikGupta avatar Mar 11 '16 03:03 RitwikGupta