Warping pegs are used for measuring threads or yarns to be braided.   Pegs are typically clamped to a flat surface such as a table at the desired distance.  Threads are then wound on the pegs until the desired number of thread ends are reached.