Distinguishing between lathes and milling machines