| BLENDER_BIN | No | Blender executable, for background sessions, install-addon, and the check command on a .blend; found on PATH or in the usual install folders when unset |
| BLENDERLENS_MODE | No | auto (the Blender window running the add-on if it responds, otherwise a background Blender), live, or background |
| BLENDERLENS_HOST | No | The address the server connects to for the BlenderLens add-on in live mode |
| BLENDERLENS_PORT | No | The add-on's port, as set in its preferences |
| BLENDERLENS_TOKEN | No | Overrides the token the server reads from the add-on's connection file (live-<port>.json) Secret. |
| BLENDERLENS_TIMEOUT | No | Seconds to wait for one call; render_preview, run_python, run_script and bake_texture also take a timeout of their own |
| BLENDERLENS_START_TIMEOUT | No | Seconds to wait for a background Blender to come up |
| BLENDERLENS_RENDER_DIR | No | Where render_preview writes when given no path. When unset, blenderlens/renders in the system temp folder, where previews older than 7 days are removed when the server starts |
| BLENDERLENS_ALLOW_PYTHON | No | 0 leaves run_python and run_script out of the tool list and refuses them (not_allowed) |
| BLENDERLENS_ALLOWED_DIRS | No | Folders that every path given to a tool must lie inside, separated by ; on Windows and : elsewhere. render_preview may also write to its render folder (BLENDERLENS_RENDER_DIR). When unset, paths are not confined |
| BLENDERLENS_RUNTIME_DIR | No | Where the add-on writes live-<port>.json for the server, and where recovery copies go; Blender and the server must agree. Default: %LOCALAPPDATA%\blenderlens on Windows, ~/Library/Application Support/blenderlens on macOS, and $XDG_STATE_HOME/blenderlens or ~/.local/state/blenderlens elsewhere |
| BLENDER_BIN | No | Blender executable, for background sessions, install-addon, and the check command on a .blend; found on PATH or in the usual install folders when unset |
| BLENDERLENS_MODE | No | auto (the Blender window running the add-on if it responds, otherwise a background Blender), live, or background |
| BLENDERLENS_HOST | No | The address the server connects to for the BlenderLens add-on in live mode |
| BLENDERLENS_PORT | No | The add-on's port, as set in its preferences |
| BLENDERLENS_TOKEN | No | Overrides the token the server reads from the add-on's connection file (live-<port>.json) Secret. |
| BLENDERLENS_TIMEOUT | No | Seconds to wait for one call; render_preview, run_python, run_script and bake_texture also take a timeout of their own |
| BLENDERLENS_START_TIMEOUT | No | Seconds to wait for a background Blender to come up |
| BLENDERLENS_RENDER_DIR | No | Where render_preview writes when given no path. When unset, blenderlens/renders in the system temp folder, where previews older than 7 days are removed when the server starts |
| BLENDERLENS_ALLOW_PYTHON | No | 0 leaves run_python and run_script out of the tool list and refuses them (not_allowed) |
| BLENDERLENS_ALLOWED_DIRS | No | Folders that every path given to a tool must lie inside, separated by ; on Windows and : elsewhere. render_preview may also write to its render folder (BLENDERLENS_RENDER_DIR). When unset, paths are not confined |
| BLENDERLENS_RUNTIME_DIR | No | Where the add-on writes live-<port>.json for the server, and where recovery copies go; Blender and the server must agree. Default: %LOCALAPPDATA%\blenderlens on Windows, ~/Library/Application Support/blenderlens on macOS, and $XDG_STATE_HOME/blenderlens or ~/.local/state/blenderlens elsewhere |