A custom built lathe designed for in operando high-energy x-ray studies at industrially relevant cutting parameters