Render documents on a virtual paper with folds and other types of damage using blender geometry nodes.
Scene parameters and render settings are written to a conf.json file that is read by a script that runs inside blenders embedded python interpreter.