i recently started using Avogadro and I’m wondering if it is possible to
access the base vectors of the unit cell from the console?
I figured out that I can plot things (lines, text, …) by using the
painter inside an engineScript but I didn’t succeed when using the
painter at the console. Is there a way to plot elements from the Console?
i recently started using Avogadro and I’m wondering if it is possible to
access the base vectors of the unit cell from the console?
I’m not sure it is possible to get the unit cell vectors from python.
There is no UnitCell class in avogadro and OpenBabel’s OBUnitCell is
not available from python.
I figured out that I can plot things (lines, text, …) by using the
painter inside an engineScript but I didn’t succeed when using the
painter at the console. Is there a way to plot elements from the Console?
This is not possible. If you want to use a painter, you need to create
an engine(Script).
Tim
Thanks for your help
Armin
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev
I’m not sure it is possible to get the unit cell vectors from python.
There is no UnitCell class in avogadro and OpenBabel’s OBUnitCell is
not available from python.
We could certainly update the Open Babel python bindings to access OBUnitCell. That’s not hard to do.
I’m not sure it is possible to get the unit cell vectors from python.
There is no UnitCell class in avogadro and OpenBabel’s OBUnitCell is
not available from python.
We could certainly update the Open Babel python bindings to access OBUnitCell. That’s not hard to do.
Well, it is possible from the regular Python bindings. See the
function at line 234 of
-Geoff
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev