Measuring dimension independent from accuracy of nc, machine tool