Text this: Optimum part deposition orientation and adaptive slicing in fused deposition modeling