Laser marking identifies cast parts in iron, steel and aluminium directly after deflashing, on irregular and high-roughness surfaces. Codes resist subsequent heat treatments (annealing, hardening, shot blasting) and remain readable throughout the entire lifecycle, enabling cast and batch traceability without additional operations.