### Setup Build Environment Source: https://docs.blender.org/manual/en/5.0/contribute/manual/getting_started/local_editing/install/linux.html Installs necessary dependencies for building the Blender Manual. This command should be re-run periodically to ensure dependencies are up-to-date. ```bash make setup ``` -------------------------------- ### Install Packages Command Source: https://docs.blender.org/manual/en/5.0/advanced/command_line/extension_arguments.html Installs specified packages. Use -s to sync, -e to enable after installation, and --no-prefs to prevent user-preference updates. ```bash blender --command extension install [-h] [-s] [-e] [--no-prefs] PACKAGES ``` -------------------------------- ### Install Build Dependencies Source: https://docs.blender.org/manual/en/5.0/contribute/manual/getting_started/local_editing/install/windows.html Install all necessary dependencies for building the Blender manual using the provided make command. ```bash make setup ``` -------------------------------- ### Create and Activate Virtual Environment Source: https://docs.blender.org/manual/en/5.0/contribute/manual/getting_started/local_editing/install/linux.html Creates a Python virtual environment named '.venv' and installs project dependencies from 'requirements.txt'. This is automatically handled by 'make setup'. ```bash python3 -m venv .venv .venv/bin/pip install -r requirements.txt ``` -------------------------------- ### Launch Blender from Installation Directory Source: https://docs.blender.org/manual/en/5.0/advanced/command_line/launch/linux.html Navigate to your Blender installation directory and execute the Blender binary. This is useful when Blender is not in your system's PATH. ```bash cd ./blender ``` -------------------------------- ### Transform Driver Example Source: https://docs.blender.org/manual/en/5.0/animation/drivers/workflow_examples.html Control an object's rotation based on another object's position. This setup is useful for creating linked object movements. ```text 1. Add a Driver to the _Rotation Y_ property of the second object via the context menu or with `Ctrl`-`D`. 2. Open the _Drivers Editor_ and select the _Y Euler Rotation_ property in the channels region. 3. Open the Sidebar region and select the _Drivers_ tab. 4. Configure the driver to be the _Averaged Value_ of a _Transform Channel_ of the first object. 5. Experiment with moving the first object and notice how it affects the Y rotation of the second object. ``` -------------------------------- ### Get Add-on Paths in Blender Source: https://docs.blender.org/manual/en/5.0/advanced/scripting/addon_tutorial.html A Python snippet to print the current add-on search paths within Blender. This is useful for understanding where Blender looks for add-ons and where they are installed. ```python import addon_utils print(addon_utils.paths()) ``` -------------------------------- ### Install Package from File Command Source: https://docs.blender.org/manual/en/5.0/advanced/command_line/extension_arguments.html Installs a package file into a specified user repository. Use -e to enable and --no-prefs to prevent user-preference updates. ```bash blender --command extension install-file [-h] -r REPO [-e] [--no-prefs] FILE ``` -------------------------------- ### Example Self-Hosted Repository URL Source: https://docs.blender.org/manual/en/5.0/advanced/extensions/creating_repository/static_repository.html This example shows a download URL for a self-hosted extension, including the repository path, minimum Blender version, and supported platforms, all properly URL-encoded. ```text http://my-site.com/my-addon.zip?repository=.%2Findex.json&blender_version_min=4.2.0&platforms=windows-x64 ```