Distance-controlled direct ink writing of titanium alloy with enhanced shape diversity and controllable porosity