Machining of plastic materials