Hello subscribers out there!

Robert Campbell and Warren Delano gave some useful hints to cgo label
orientation a few days ago. But so far, I didn't succed yet to get the
labels in plane of the molecule. It was barely possible to rotate and
translate the cgo label [cmd.rotate/translate, thanks to R. Campbell) but
this way is not very accurate. So I rotated the cgo label in plane and got
its orientation alone [cmd.get_view('label'), thanks to W.Delano]. The idea
was to take this matrix and rotate the molecule in plane to the cgo label or
vice versa (molecule's view matrix applied to the cgo label). Then I wanted
to use 'cmd.set_view' in order to perform the orientation onto the molecule
(or label) alone but this command neither accpets the 18 digit matrix or an
assignment to a specific object to be rotated. Maybe this is only a question
of the wrong syntax. Any suggestions are very welcome.

By the way, what do the different digits in the view matrix represent? Maybe
one can convert them to an other style and rotate the molecule's pdb-file by
this orientation using an external program. This would also overcome
rotation dilemma.

Greetings,
Bartholomeus

Reply via email to