Add standard ending boilerplate to a Blender rendering script

add_blender_endmatter(script, filepath = tempfile(fileext = ".blend"))

Arguments

script

The Python script to append the generated code onto.

filepath

The file path to save the output file to. Must end with `.blend`.

Value

A length 1 character vector containing the Blender Python script with ending boilerplate added.