I have downloaded the latest stable release of Avogadro from source forge (1.2.0) on windows.
I would like to be able to draw vectors on top of my molecule (for describing moments of inertia).
I couldn’t find a way to do this in Avogadro, so I figured the best way to do this would be through an extension (I’m thinking action
DrawVector([x,y,z]) -> calls Avogadro::Painter::drawLine(...) ).
However when I put my script into the
lib\avogadro\1_2\extensions\ folder it appears it doesn’t get loaded in (I can’t see the menu item).
I’m hoping it is possible to do this without needing to re-build binaries etc. (this is even recommended here)
Creating a Third Party Plugin - Avogadro This page is unfortunately incomplete.
As a side note I also don’t know how to start the python interpreter in the application, this would probably be sufficient for my needs (as long as I can call
Here is a gist for my extension code: Avogadro python draw vector extension · GitHub