Blender’s Directory Layout¶
This page documents the different directories used by Blender.
This can be helpful for troubleshooting, automation and customization.
User Directories¶
User directories store preferences, startup file, installed extensions, presets and more. By default these use the standard configuration folders for each operating system.
Linux¶
$HOME/.config/blender/5.3/
If the $XDG_CONFIG_HOME environment variable is set:
$XDG_CONFIG_HOME/blender/5.3/
macOS¶
/Users/$USER/Library/Application Support/Blender/5.3/
Windows¶
%USERPROFILE%\AppData\Roaming\Blender Foundation\Blender\5.3\
Portable Installation¶
When running Blender from a portable drive, it’s possible to keep the configuration files on the same drive to take with you.
To enable this, create a folder named portable at the following locations:
Windows: Next to the Blender executable, in the unzipped folder
Linux: Next to the Blender executable, in the unzipped folder
macOS: Inside the application bundle at
Blender.app/Contents/Resources
This folder will then store preferences, startup file, installed extensions and presets.
Variáveis de ambiente¶
The BLENDER_USER_RESOURCES environment variable
can be set to a custom directory to replace the default user directory.
System Directories¶
System directories store files that come bundled with Blender and are required for it to function. This includes scripts, presets, essential assets and more.
Linux¶
Archive downloaded from blender.org:
./5.3/
Linux distribution packages:
/usr/share/blender/5.3/
macOS¶
./Blender.app/Contents/Resources/5.3/
Windows¶
Zip file downloaded from blender.org:
./5.3/
Installer downloaded from blender.org:
%ProgramFiles%\Blender Foundation\Blender\5.3\
Microsoft Store installation:
%ProgramFiles%\WindowsApps\BlenderFoundation.Blender<HASH>\Blender\5.3\
Variáveis de ambiente¶
BLENDER_SYSTEM_SCRIPTS and BLENDER_SYSTEM_EXTENSIONS
environment variables
can be used to bundle additional scripts and extensions,
that are not part of the regular Blender installation.
Other BLENDER_SYSTEM environment variables can override other system paths,
though are not commonly used in practice.
Esquema de caminhos¶
./autosaveLocalização do arquivo salvo automaticamente. (Somente para Windows, o diretório temporário é usado como padrão em outros sistemas).
Located in user directories.
./configUser configuration and session info.
Located in user directories.
./config/startup.blendBlend file to load on startup.
./config/userpref.blendUser preferences.
./config/bookmarks.txtFavoritos do navegador de arquivos.
./config/recent-files.txtMenu com a lista de arquivos recentes.
./config/{APP_TEMPLATE_ID}/startup.blendStartup file for an application template.
./config/{APP_TEMPLATE_ID}/userpref.blendUser preferences file for an application template.
./datafilesData files loaded at runtime.
Located in both user and system directories. User data files either override or add to system data files.
./datafiles/colormanagementDefault OpenColorIO configuration.
./datafiles/fontsUser interface fonts.
./datafiles/studiolightsStudio light images for 3D viewport.
./extensionsExtension repositories.
Located in both user and system directories. Repositories are loaded from both directories.
./scriptsAdd-ons, presets, templates, user interface, startup scripts.
Located in both user and system directories. Scripts are loaded from both directories.
./scripts/addons/*.pyAdd-ons Python que podem ser habilitados em Preferences, incluindo os formatos suportados para importação/exportação, integração com motores de renderização e muitas utilidades práticas.
./scripts/addons/modules/*.pyMódulos para add-ons a serem usados (adicionados ao diretório «sys.path» Python).
./scripts/addons_core/*.pyThe add-ons directory which is used for bundled add-ons.
./scripts/addons_core/modules/*.pyModules for
addons_coreto use (added to Python’ssys.pathwhen it found)../scripts/modules/*.pyMódulos Python contendo nossa API principal e funções úteis para outros scripts para serem importados (adicionados ao diretório «sys.path» Python).
./scripts/startup/*.pyScripts que são automaticamente importados durante a inicialização.
./scripts/startup/bl_app_templates_user/{APP_TEMPLATE_ID}Application templates installed in user directories.
./scripts/startup/bl_app_templates_system/{APP_TEMPLATE_ID}Application templates automatically loaded from system directories.
./scripts/presets/{preset}/*.pyPresets usadas para o armazenamento de outras configurações definidas pelos usuários para tecidos, formatos de renderização, etc.
./scripts/templates_py/*.pyScripts de exemplo que podem ser acessados a partir do .
./scripts/templates_osl/*.oslSombreadores OSL, os quais podem ser acessados a partir do .
./pythonDistribuição do Python embutida.
Located in system directories.
Local Cache Directory¶
The cache directory is used to store persistent caches locally. Currently it is only used for the indexing of Asset Libraries. The operating system is not expected to clear this automatically.
The following path will be used:
- Linux:
$XDG_CACHE_HOME/blender/if$XDG_CACHE_HOMEis set, otherwise$HOME/.cache/blender/
- macOS:
/Library/Caches/Blender/
- Windows:
%USERPROFILE%\AppData\Local\Blender Foundation\Blender\Cache\
Diretório temporário¶
O diretório temporário é usado para armazenar vários arquivos em tempo de execução (incluindo render layers, cache físicos, copy-paste buffer e logs de erros).
O diretório temporário é selecionado com base na seguinte prioridade:
Preferências de usuário (see Caminhos doe Ficheiro).
Variáveis de ambiente (
TEMPno Windows,TMPeTMP_DIRem outras plataformas).O diretório definido como
/tmp/.