The sketcher repository contains a 3D Scene Description Translator as well as a Python script based on sketch4latex to generate a vector-based (PDF) unit cell representation for a given lattice orientation.

  • First clone the sketcher repository
    git clone


  • unpack the sketch source
    tar xvzf sketch-0.3.7tight.tar.gz
  • compile sketch
    cd sketch-0.3.7tight; make
  • install sketch into your PATH
    sudo cp sketch /usr/local/bin

unitcell plotter

  • create a symbolic link from a location in your PATH (e.g. /usr/local/bin) to