Re: [PyMOL] How to get TTT matrix in PyMOL 1.7.6?

2015-08-18 Thread Paweł Tomaszewski
Thanks Jared, I have tried the transformations.py script, and here is what I've got: - I get a quaternions from external source (a 3d manipulator) in a classical form: [x,y,z,w] - I use function: quaternion_matrix(quaternion) from transformations.py script: m = quaternion_matrix([x, y, z, w])#

Re: [PyMOL] How to get TTT matrix in PyMOL 1.7.6?

2015-08-13 Thread Sampson, Jared
Hi Paweł - Honestly, if you prefer to use matrices, I'd say just go ahead and use get_object_matrix; I doubt it's going away any time soon. You may want to use this in combination with transform_selection. Also maybe check out Christoph

[PyMOL] How to get TTT matrix in PyMOL 1.7.6?

2015-08-06 Thread Paweł Tomaszewski
Hello, I've created a CGO in pymol script (a cone) and I need to make some transformations on it. I've found that it is easier for me to modify a TTT matrix rather than using translate/rotate functions. Documentation says [http://www.pymolwiki.org/index.php/Get_object_matrix] get_object_matrix is