Aligning material extrusion direction with mechanical stress via 5-axis tool paths