A rational approach to beam path planning in additive manufacturing: the inverse heat placement problem. (22nd February 2023)