Production of parts on lathes machines