Thermally induced comprehensive error modeling and compensation for gantry machine tools with grating scale in large structure machining