Characteristics of machined and formed external threads in titanium alloy