A machine tool with a machine controller, a machine frame, a workpiece table, a tool holder, preferably designed according to a standard, a plurality of translatory and/or rotatory axes (12a, 12gb) for adjusting a relative position between the workpiece table and the tool holder, a tool magazine for one or more material-removing, in particular cutting, tools, and characterised by the following features: a first tool changing mechanism for automatically moving tools between the tool holder and the tool magazine, which may comprise an automatically operating arm for moving the tool between the tool holder and the tool magazine, a cladding welding head insertable into the tool holder, and a storage device for storing the cladding welding head beyond the tool holder, wherein the storage device may be provided beyond the tool magazine, and wherein the cladding welding head is adapted to be automatically brought into the storage device from the tool holder and removed therefrom, wherein the machine tool comprises a measuring device for measuring a workpiece, with a position measuring device for determining position data, preferably in three dimensions, of surface points of a workpiece, a temperature measuring device for determining temperature data concerning the temperature at a surface point close in time to the measurement of the point using the position measuring device, and memory means for storing position data, temperature data and measurement timing data of a plurality of surface points in a mutually associable manner, wherein the memory means is adapted to store a plurality of measurement times and measurement values of the temperature of a same surface point. a machine controller, a machine frame, a workpiece table, a tool holder, preferably designed according to a standard, a plurality of translatory and/or rotatory axes (12a, 12gb) for adjusting a relative position between the workpiece table and the tool holder, a tool magazine for one or more material-removing, in particular cutting, tools, and characterised by the following features: a first tool changing mechanism for automatically moving tools between the tool holder and the tool magazine, which may comprise an automatically operating arm for moving the tool between the tool holder and the tool magazine, a cladding welding head insertable into the tool holder, and a storage device for storing the cladding welding head beyond the tool holder, wherein the storage device may be provided beyond the tool magazine, and wherein the cladding welding head is adapted to be automatically brought into the storage device from the tool holder and removed therefrom, wherein the machine tool comprises a measuring device for measuring a workpiece, with a position measuring device for determining position data, preferably in three dimensions, of surface points of a workpiece, a temperature measuring device for determining temperature data concerning the temperature at a surface point close in time to the measurement of the point using the position measuring device, and memory means for storing position data, temperature data and measurement timing data of a plurality of surface points in a mutually associable manner, wherein the memory means is adapted to store a plurality of measurement times and measurement values of the temperature of a same surface point. a first tool changing mechanism for automatically moving tools between the tool holder and the tool magazine, which may comprise an automatically operating arm for moving the tool between the tool holder and the tool magazine, a cladding welding head insertable into the tool holder, and a storage device for storing the cladding welding head beyond the tool holder, wherein the storage device may be provided beyond the tool magazine, and wherein the cladding welding head is adapted to be automatically brought into the storage device from the tool holder and removed therefrom, wherein the machine tool comprises a measuring device for measuring a workpiece, with a position measuring device for determining position data, preferably in three dimensions, of surface points of a workpiece, a temperature measuring device for determining temperature data concerning the temperature at a surface point close in time to the measurement of the point using the position measuring device, and memory means for storing position data, temperature data and measurement timing data of a plurality of surface points in a mutually associable manner, wherein the memory means is adapted to store a plurality of measurement times and measurement values of the temperature of a same surface point.