Text this: Motion and path planning for additive manufacturing.