Balancing Cost and Performance in 3D Printing