Text this: Trajectory planning and simulation for 3d printing process