D printing has been used to create a new sensor that could revolutionize detection of milk fever in cows during calving.