
Hi, I am writing a script in python for generating a series of ellipses linking the nuclei a molecule. Every ellipsoid should be positioned at a specific location *P* = (X,Y,Z) and should be aligned with the orthonormal vectors describing its main directions-*A*, *B*, *C*. However, when I create an ellipsoid with shape_command it gets located correctly at *P* but it is aligned with the global axis. I can't find a general way to reorient an object so its original axes point along the vectors *A*, *B*, and *C*. I will appreciate any suggestion how to do it. -- Hugo J Bohórquez <https://sites.google.com/site/hugojbohorquez/home>, PhD *Investigador* Grupo de Biofísica Fundación Instituto de Inmunología de Colombia TEL. +57 +1 -3158920 Ext. 122 CEL. +57 315-6169069 *The Pauli energy grows exponentially with the electronic localisation <http://dx.doi.org/10.1080/00268976.2013.836605>*