Scanning Pattern Optimization To Reduce Temperature Gradients In Dmls