Machining of plastics, rubber and metals