Methods and apparatus for generating additive manufacturing scan paths using thermal and strain modeling