Dr Marco Francesco Funari, lecturer in civil and environmental engineering at the university, who led the project, said: “Looking after a historic building follows the same logic as looking after a patient.

“You take its history, diagnose problems, propose treatments and then monitor its condition.”

He said: “This is the first comprehensive digital record of the manor in its current condition, and a major step towards a full digital twin that could protect the house for future generations.”

Ilona Harris, director of West Horsley Place, said: “West Horsley Place has centuries of history embedded in its walls, and preserving that legacy is at the heart of everything we do.

“This collaboration gives us an invaluable new way to understand and care for the house, using digital innovation to help support the long-term protection of historic sites like ours.”