Another useful viewer is gdis. Although its rendering of isosurfaces is so poor that I do not describe it here, it does handle crystals better than Jmol, and, unlike Jmol or XCrysDen, allows one to edit structures (move or delete atoms) trivially. Unlike the other examples, this one was run under Linux, not Tru64. For various reasons gdis is considerably more stable on Linux.
As an example, we start with a simple 8-atom cubic silicon unit cell.

Then, we click on the "model periodic image" box, and show two unit cells in all three directions.


Then one can save the new structure as a pdb file, using File, Save as, and an .pdb extension, and then convert the co-ordinates back to a CASTEP .cell file with
check2xsf --cell si63p.pdb si63p.cellNote that the resulting .cell file contains only atomic positions and the unit cell axes. Worrying about symmetry, k-points and pseudopotentials is now your job.
To remove the black background (e.g. for printing) select View, Display Properties, Colours. Note that gdis sometimes fails to calculate bonds correctly. One can add them by hand: Tools, Model Editing, Single Bonds, and then click on the two atoms needing a bond.
Back to CASTEP visualisation using free software overview.