Re: [PyMOL] Showing periodic images

2007-04-21 Thread Tsjerk Wassenaar
Dear Felix, One of the easiest ways to determine whether a point is inside a triclinic box is by matrix multiplying the coordinates with the inverse of the box matrix. Then, every point which has coordinates within [0,1] will be inside the box. Furthermore, every point can be mapped to the tricli

Re: [PyMOL] Showing periodic images

2007-04-19 Thread Tsjerk Wassenaar
Hi Gianluca, Unfortunately, Pymol offers no such functionality intrinsically. But this is where python comes in handy. Attached you find a script I wrote for the purpose. It allows you to shift objects or selections over the periodic lattice: run lattice.py create ObjectCopy,MyObject shift 1,0,0

[PyMOL] Showing periodic images

2007-04-19 Thread Gianluca Santarossa
Dear all, is there a way to show the periodic images from a slab in PyMOL? Thanks, Gianluca -- == Gianluca Santarossa Institute for Chemical and Bioengineering Department of Chemistry and Applied Biosciences ETH Zurich, Hönggerberg, HCI,