Perforating, cutting or machining during or after moulding