The input file

The function analyse_model()

Storing the output of the function

Checking up the maquette

The damage function

# model_path = list(
#   data = system.file("extdata", package = "floodam.building"),
#   output = tempdir()
# )
# model_name = "adu_t"
# model = floodam.building::analyse.model(
#   model_name,
#   #stage = "all",
#   stage = c("load", "extract", "damaging"),
#   path = model_path
# )
# selected_view = c("top", "front", "damaging")
# plot(model, view = selected_view, device = "pdf")
# plot(model, view = "top")
# plot(model, view = "front")
# plot(model, view = "damaging")