From: Ajasja Ljubetič (ajasja.ljubetic_at_gmail.com)
Date: Thu Nov 25 2010 - 14:57:13 CST

Well after actual reading the script I have two further hints:
a) getting the minmax of a selection is better achieved using "measure
minmax $sel"
b) you can get the information about the unit cell using "molinfo top get {a
b c alpha beta gamma}"

Regards,
Ajasja

On Thu, Nov 25, 2010 at 21:14, Ajasja Ljubetič <ajasja.ljubetic_at_gmail.com>wrote:

> Hi,
>
> Perhaps this script<http://www.ks.uiuc.edu/Research/vmd/script_library/scripts/box_molecule/> might
> help get you started.
>
> Regards,
> Ajasja
>
>
> On Thu, Nov 25, 2010 at 15:32, Germain Salvato Vallverdu <
> germain.vallverdu_at_univ-pau.fr> wrote:
>
>> Hi all,
>>
>> I would like to visualise CONTCAR or POSCAR file with VMD. I can do that
>> because that format are available in VMD thanks to the vasp plugin. But
>> I would like to draw the cell edge of the crystal.
>>
>> From the pbc plugins I tried that commands :
>>
>> pbc set {5.7 5.7 5.7} -all
>> pbc box -color red -style tubes -width 1
>>
>> That draw a nice box but how can I control the position of the box ? For
>> exemple I would like to set one corner of the box to the origin or to
>> the coordinate of the atom at the origin.
>>
>> Second question, what about non ortorhombic cell ?
>>
>> Thanks for your help
>>
>> Germain
>>
>>
>