Wear model of an excavator bucket