Cad makes template of tool as function of spindle, machine tool and set on spindle