Functional designs for 3D printing