Design technique for 3d printing