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])
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_selectionhttp://www.pymolwiki.org/index.php/Transform_selection.
Also maybe check out Christoph