Instructions
Use the latest version by running the following commands:
% git clone git://gitorious.org/rotenc/rotenc.git
% cd rotenc
% ./rotenc
Usage: rotenc INNER_DIAMETER OUTER_DIAMETER N_SEG OUT_FILE
Where:
INNER_DIAMETER is the diameter of the inner circle in millimetres.
OUTER_DIAMETER is the diameter of the outer circle in millimetres.
N_SEG is the number of segments to draw
OUT_FILE is the name of the pdf file to write to.
% ./rotenc 50 60 16 encoder.pdf
%
Also announced here: xgoat.com/wp/2009/08/12/rotary-encoder-pattern-generator/



