Blender’s Directory Layout

This page documents the different directories used by Blender (which can be helpful for troubleshooting).

There are three different directories Blender may use, their exact locations are platform dependent.

LOCAL:

Lokacija konfiguracije i radnih podataka (.zip varijanta).

USER:

Location of configuration files (typically in the user’s home directory).

SYSTEM:

Lokacija radnih podataka kod varijante sistemske instalacije (često se ne može prepisati).

Za „sistemsku” instalaciju, potrebno je da su SYSTEM i USER definisani.

For locally extracted Blender distributions, the user configuration and run-time data are kept in the same subdirectory, allowing multiple Blender versions to run without conflict, ignoring the USER and SYSTEM files. This requires you to create a folder named config in the LOCAL directory.

Putanje specifične konkretnoj platformi

Navodimo podrazumevane lokacije za pojedinačne platforme:

Linux

LOCAL:
./4.0/
USER:
$HOME/.config/blender/4.0/
SYSTEM:
/usr/share/blender/4.0/

Белешка

The path ./4.0/ is relative to the Blender executable and is used for self-contained bundles distributed by official blender.org builds.

Белешка

USER putanja će preuzeti vrednost $XDG_CONFIG_HOME promenljive, ako je podešena:

$XDG_CONFIG_HOME/blender/4.0/

macOS

LOCAL:
./4.0/
USER:
/Users/$USER/Library/Application Support/Blender/4.0/
SYSTEM:
/Library/Application Support/Blender/4.0/

Белешка

macOS stores the Blender binary in ./Blender.app/Contents/MacOS/Blender. The local path to data and config is:

./Blender.app/Contents/Resources/4.0/

Windows

LOCAL:
.\4.0\
USER:
%USERPROFILE%\AppData\Roaming\Blender Foundation\Blender\4.0\
SYSTEM:
%USERPROFILE%\AppData\Roaming\Blender Foundation\Blender\4.0\

Белешка

For installations from the Window’s Store, the USER and SYSTEM directories are inside a special folder resembling: %USERPROFILE%\AppData\Local\Packages\BlenderFoundation.Blender<HASH>\LocalCache\Roaming\Blender Foundation\Blender where „HASH” is a string specific to each installation.

Raspored putanja

Ovo je raspored putanja koji se koristi za gore-opisane foldere.

Gde ./config/startup.blend može biti ~/.blender/|BLENDER_VERSION|/config/startup.blend, primera radi.

./autosave/ ...

Autosave blend-file location. (Windows only, temp directory used for other systems.)

Sled razrešenja: LOCAL, USER.

./config/ ...

Početno stanje i detalji seanse.

Sled razrešenja: LOCAL, USER.

./config/startup.blend

Fiksna lokacija datoteke koja predstavlja početno stanje programa.

./config/userpref.blend

Fiksna lokacija datoteke u koju se snimaju izmene opštih postavki.

./config/bookmarks.txt

Prečice za izbornik fajlova.

./config/recent-files.txt

Lista nedavno učitanih projekata u meniju.

./datafiles/ ...

Radni podaci.

Sled razrešenja: LOCAL, USER, SYSTEM.

./datafiles/locale/{language}/

Fiksni prevedeni jezični leksikon za GKI prevod.

./scripts/ ...

Pajton skripte za GKI i alatke.

Sled razrešenja: LOCAL, USER, SYSTEM.

./scripts/addons/*.py

Python add-ons which may be enabled in the Preferences include import/export format support, render engine integration and many handy utilities.

./scripts/addons/modules/*.py

Modules for add-ons to use (added to Python’s sys.path).

./scripts/addons_contrib/*.py

Dodatna lokacija za ekstenzije u koju idu nezvanične/netestirane ekstenzije (mora se kreirati ručno).

./scripts/addons_contrib/modules/*.py

Modules for addons_contrib to use (added to Python’s sys.path).

./scripts/modules/*.py

Pajton moduli sa osnovnim funkcijama i definicijama za kreiranje sopstvenih skripti (ide u sys.path).

./scripts/startup/*.py

Skripte koje su uvek dostupne pri pokretanju programa.

./scripts/presets/{preset}/*.py

Snimljene kombinacije parametara u panelima (npr. tkanina, format vizuelizacije, itd.)

./scripts/templates_py/*.py

Šablonske skripte koje se mogu otvoriti kroz Text Editor ‣ Templates ‣ Python.

./scripts/templates_osl/*.osl

Šabloni za OSL šejdere koji se mogu otvoriti kroz Text Editor ‣ Templates ‣ Open Shading Language.

./python/ ...

Integrisana distribucija Pajton jezika.

Sled razrešenja: LOCAL, SYSTEM.

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_HOME is set, otherwise $HOME/.cache/blender/

  • macOS:

    /Library/Caches/Blender/

  • Windows:

    %USERPROFILE%\AppData\Local\Blender Foundation\Blender\Cache\

Folder za privremene datoteke

Folder za privremene datoteke skladišti razne datoteke prilikom rada (npr. slojevi vizuelizacije, keš simulacije fizike, među-memorija za „copy/paste” i zapisnik o rušenju programa).

Folder za privremene fajlove se razrešava po sledećem prioritetu:

  • Korisnički izbor (vidi File Paths).

  • Environment variables (TEMP on Windows, TMP & TMP_DIR on other platforms).

  • /tmp/ folder.

Overriding Default Directories

It’s possible to override the default USER and SYSTEM directories using environment variables.

While this shouldn’t be needed for typical usage, some specialized use cases may take advantage of this, such as:

  • Using a shared network drives for specific paths.

  • Isolating an instance from the default user files to prevent automated tasks from accessing user configuration.

See Environment Variables for details.