From: Maxim Belkin (mbelkin_at_ks.uiuc.edu)
Date: Wed Jan 22 2014 - 17:48:18 CST

Hi Fatima,
Here is an example how to rotate a selection by 10 degrees around z-axis.
$sel move [trans z by 10]

Maxim

On Jan 22, 2014, at 5:38 PM, Fatemesadat Emami <fe2_at_zips.uakron.edu> wrote:

> Dear vmd users,
> I want to make a regular self-assembled structure using a repeat structure. I have a pdb/psf for a molecule, and I want to load it several times in a patterned from (e.g. with the heads positioned around a circle - something like a flower).
>
> I will combine the pdb/psf from all in file later to have one file.
>
> My problem is as following:
>
> -I can "moveby" the structure so that the heads are on the circle as I want; but I also need to rotate the structure so that it appears along the radius of the circle. there must be a simple rotation matrix to do so but I have not yet succeeded to find it.
>
> Could anybody please help?
>
> thanks
> Fatima
>
>
>
> --
> Fateme S. Emami, Ph.D.
> Postdoctoral Fellow
> Non-Equilibrium Research Centre (NERC)
> Northwestern University
> Email: fatemesadat.emami_at_northwestern.edu