blender-dev-reload-addons-terminal

star 0

Audit what Blender Development executes for `Blender: Reload Addons` and trigger the same reload flow from terminal for Blender 5.0.

himatts By himatts schedule Updated 3/6/2026

name: blender-dev-reload-addons-terminal description: Audit what Blender Development executes for Blender: Reload Addons and trigger the same reload flow from terminal for Blender 5.0.

Blender Development Reload Addons (Terminal)

Goal

Understand and reproduce Blender: Reload Addons in Blender 5.0 without using the VS Code command.

Source of truth

  1. out/extension.js
  • COMMAND_reloadAddons saves files and sends { type: "reload", names, dirs } to responsive Blender instances.
  1. pythonFiles/include/blender_vscode/operators/addon_update.py
  • Registers handler for "reload".
  • Resolves addon module names (legacy/extension paths).
  • Calls bpy.ops.dev.update_addon(module_name=...).
  1. UpdateAddonOperator.execute
  • bpy.ops.preferences.addon_disable(...)
  • Deletes addon modules from sys.modules
  • bpy.ops.preferences.addon_enable(...)
  • Sends "addonUpdated" callback.

Workflow

  1. Ensure target Blender instance is running and has the Blender Development HTTP server active.
  2. Prepare reload payload:
  • names: module names (for Lime Pipeline: lime_pipeline).
  • dirs: source directories (absolute path to addon package directory).
  1. POST the payload to the Blender server endpoint.
  2. Validate addon re-enabled and UI/operators available.

Command

& "C:\Program Files\Blender Foundation\Blender 5.0\5.0\python\bin\python.exe" tools\blender_dev_reload_http.py --port <BLENDER_SERVER_PORT> --module-name lime_pipeline --source-dir "C:\Users\Usuario\Documents\Blender Addons\LimePipeline\lime_pipeline"

Port discovery

  • If started by Blender Development, inspect the VS Code output channel for Flask server started on port ....
  • Verify reachability:
Invoke-WebRequest -Uri "http://127.0.0.1:<BLENDER_SERVER_PORT>/ping"

Validation

  • Reload request returns HTTP 200.
  • Blender console shows disable/enable cycle without exceptions.
  • Addon panels/operators remain available after reload.
Install via CLI
npx skills add https://github.com/himatts/LimePipeline --skill blender-dev-reload-addons-terminal
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator