Skip to content

wdfdsyhb/blender-design

v0.15.0Apache-2.0

Design, review, and export Blender scenes through controlled operations, visual milestones, and recovery checkpoints.

Blender Design Plugin

Plugin marketplaces

This plugin belongs to AIGC content creation.

CategoryMarketplacePurpose
Full-stack developmentFull Stack PluginsArchitecture and UI design, code understanding, quality checks, code review, workflow governance, and server operations
AIGC content creationFull AIGC PluginsImage, video, audio, music, 3D, and multimodal content creation

Positioning

blender-design lets Codex drive a real Blender session through a guarded local Harness. Instead of returning a disposable image, it builds editable scene objects, materials, lights, cameras, animation, checkpoints, previews, and export receipts that you keep.

The Harness is a closed, structured-command surface: arbitrary Python is disabled by default, Blender data mutates only on the main thread, and every irreversible action needs an action-bound authorization token.

Who it is for

  • 3D artists and technical artists who want Codex to prepare scenes without losing editability.
  • Pipeline engineers who need a scriptable, auditable Blender automation surface.
  • Reviewers who need milestone previews and export receipts rather than a claim of success.

What problem it solves

ProblemWhat this plugin providesVerifiable entry point
Automation scripts break scenesMain-thread-only mutation, scene revisions, request IDsscripts/harness/server.py, docs/Codex-Blender-Plugin-Architecture.md
A failed step ruins the fileMilestone checkpoints and rollback evidencescripts/harness/snapshot.py
Long exports block the sessionSnapshot-isolated background jobs with explicit resumedocs/verification/harness-runtime.md
"It worked" cannot be verifiedMedia probes, hashes, reimport checks, receiptsscripts/harness/exporter.py
Missing assets stall a taskAsk-first policy, or labelled proxy design on explicit authorizationdocs/getting-started.zh-CN.md

At a glance

Idea / references / action timeline
      │
      ▼
┌──────────────────────────────────────────────────────────┐
│ blender-design                                            │
│  ① plan     executable design + safety policy            │
│  ② connect  managed launch, or Connector Add-on          │
│  ③ build    structured commands on the Blender main thread│
│  ④ review   milestone previews and checkpoints           │
│  ⑤ export   verified .blend / .glb / .png / .mp4 + receipt│
└──────────────────────────────────────────────────────────┘
      │
      ▼
Editable Blender scene + verified local exports
PropertyValue
Plugin IDblender-design
HostCodex CLI or ChatGPT desktop app
Current version0.14.1
Plugin manifest.codex-plugin/plugin.json
MCP configuration.mcp.json bootstraps the SHA-pinned PartMe Blender MCP v0.7.0-rc.2 and official MCP SDK in an isolated user venv; no second MCP implementation
Primary languagePython 3.13 Harness + Blender Add-on
LicenseApache-2.0

Capabilities and boundaries

Supported

CapabilityInputOutputLimitStatus
Scene assemblyIdea, references, or timelineCollections, stable object identity, transforms, BMesh, curves, modifiersApproved asset imports onlyStable
Modeling and surfacingDesign intentHard-surface and procedural recipes, UVs, PBR materials, Geometry Nodes, sculpt, Hair Curves, baking—Stable
Rigging and animationCharacter or prop intentArmatures, weights, IK/FK, constraints, Actions, F-Curves, NLA, shape keys, retargeting—Stable
CinematographyShot intentCamera paths, handheld response, lighting, Eevee/Cycles, compositor graphs, passes, EXR delivery—Stable
Simulation and sequenceScene intentRigid body, cloth, soft body, smoke, cache baking, Grease Pencil, tracking, VSE timelines—Stable
Background jobsLong export or bakePNG or multilayer EXR sequences with per-frame hashes, explicit missing-frame resumeIsolated from the live scene snapshotStable
ExportApproved scene.blend, .glb, .png, H.264 .mp4 plus receiptsFFmpeg and ffprobe required for videoStable

Two connection modes

ModeBlender Add-onBest for
Managed — defaultNot requiredStarting a fresh task with a non-invasive temporary Harness
ConnectorOptional lightweight Add-onContinuing work in an already-open Blender window

Running-session truth comes from capability.list and capability.describe. The catalog is counted per runtime mode, generated from the command registry, and reproduced by docs/verification/capability-counts.json.

  • Managed registers 196 commands: 175 at L3, 3 Windows-verified recovery and Rigify commands at L4, 18 at L1, and 0 at L2, across 35 domains, routed through 23 of the 38 bundled Skills.
  • Connector adds the 5 optional official_uploader.* commands: 201 commands, 175 at L3, 3 at L4, 23 at L1, and 0 at L2, across 36 domains, routed through 24 Skills.

The two modes are never merged into a single count, and no combined coverage percentage is claimed. Foreground Windows UI takeover is not L4-verified. See the runtime evidence.

Not responsible for

  • Cloud login, pricing, submission, polling, and paid actions. Those stay outside this plugin.
  • Bundling or installing the official jimeng uploader. It is user-enabled and, on the current macOS verification host, absent — so the Jimeng Web runtime gate is recorded as blocked even though its command and Skill contracts pass offline.
  • Autodesk Maya. Maya is out of scope for this plugin.
  • Foreground Windows UI takeover. Windows Server 2025 x64 / Blender 5.2.1 background recovery, Rigify, Named Pipe, and packaging passed the current L4 workflow; an interactive Windows desktop session remains unverified.

Maturity

StatusMeaning
StableAutomated tests plus runtime evidence; usable for real work
ExperimentalBehaviour may change; pin the version and verify before relying on it
Blocked / NOT_RUNNot verified on this host; never present it as working

Bundled orchestration skills

SkillWhat it wrapsTier-aware?
blender-designMilestone-based scene build from an ideaNo — single-mode orchestrator
blender-design-loopClosed dream → build → screenshot → critique → iterate loop against a target image; uses scene.screenshot + blender-harness JSON commandsYes — Plus (low-quota, 3-round cap) vs Pro (judge subagent per round)

Both skills are plugin-local (live under ./skills/). They share the blender-harness execution surface; neither duplicates it.

Architecture and core flow

flowchart TB
    U[User prompt] --> C[Codex orchestration]
    C --> P[Plan and safety policy]
    P --> M{Connection mode}
    M -->|Managed| MB[Launch Blender<br/>temporarily load Harness]
    M -->|Connector| CB[Attach to open Blender<br/>through optional Add-on]
    MB --> H[Authenticated local Harness]
    CB --> H
    H --> T[Blender main-thread commands]
    T --> S[Scene revision + checkpoint]
    S --> V[Preview and validation]
    V --> J[Snapshot-isolated background jobs]
    J --> Q[Durable PNG/EXR frames + explicit resume]
    Q --> R[Verified MP4 or editable files + receipts]

Component responsibilities

ComponentOwnsDoes not own
scripts/launch_harness.py, scripts/managed_launcher.pyLaunching Blender and writing the session descriptorScene semantics
scripts/harness/server.pyTransport, session, command dispatch, checkpointsDomain modelling
scripts/harness/execution_policy.pyWhich actions are irreversible and need authorizationUser intent interpretation
scripts/harness/authorization.pyEphemeral HMAC tokens, TTL, action bindingLong-lived credentials
scripts/harness/exporter.pyVerified export and media probingArtistic decisions
vendor/partme-blender-mcp-addon-0.7.0-rc.2.zipPartMe Add-on lifecycle for an open sessionCodex-specific production workflow
vendor/partme-blender-mcp-runtime-0.7.0-rc.2.zipGeneric MCP protocol and official-SDK tool exposureCodex-specific Skills
skills/ (34)Routing and domain instructions for CodexRuntime enforcement

Compatibility

Plugin versionHostBlenderPlatformStatus
0.13.2 + runtime 0.7.0-rc.2Codex CLI or ChatGPT desktop appBlender 4.2.23 CI baseline; visible Blender 5.2.1 UI acceptancemacOS Apple Silicon (UDS transport)PASS
0.13.2 + runtime 0.7.0-rc.2Codex CLI or ChatGPT desktop appBlender 5.2.1 background L4 workflowWindows Server 2025 x64 (Named Pipe transport)PASS; foreground UI takeover not claimed
0.13.2 + runtime 0.7.0-rc.2Codex CLI or ChatGPT desktop appsameLinux headless (tokenized loopback TCP)Experimental, not a release gate
  • Managed records 192 commands: 175 at L3, 3 Windows-verified recovery/Rigify commands at L4, 14 at L1, across 35 domains, routed through 23 Skills.
  • Connector adds the 5 optional official_uploader.* commands: 201 commands, 175 at L3, 3 at L4, 23 at L1, and 0 at L2, across 36 domains, routed through 24 Skills. Foreground Windows UI takeover is not L4-verified. Only the combinations in docs/verification/harness-runtime.md are claimed.

Installation

1. Install Blender first

Download and install Blender from https://www.blender.org/download/, launch it once, and confirm the default cube appears. For video export, install FFmpeg and ffprobe and make sure both are on PATH.

No Blender yet? Download the installer

Open Blender, enable the MCP Add-on in Preferences > Add-ons, then press N and click Start MCP Server.

The trusted and only required Add-on is PartMe Blender MCP from the pinned upstream Release. See the illustrated first-use guide. Its integrated provider layer covers the supported community asset/model services; do not install the separate MCP for Blender Add-on alongside it.

2. Install the plugin

codex plugin marketplace add partme-ai/full-aigc-plugins
codex plugin add blender-design@partme-ai-blender

3. Connect an open Blender window (one-time setup)

The PartMe Blender MCP server is bundled with this Codex/ZCode/Kimi plugin. Do not pip-install a partme-blender-mcp-*.tar.gz bundle, and do not paste pip's Processing ... output back into the shell.

To attach to an open Blender window, install the bundled PartMe Add-on once. Ask Codex to “prepare the Blender MCP installer”, or use this expert command:

python3 scripts/package_connector.py dist/partme-blender-mcp-addon-0.7.0-rc.2.zip

In Blender choose Edit → Preferences → Add-ons → Install from Disk, select that ZIP, enable PartMe Blender MCP, then press N in the 3D View and click Start MCP Server in the PartMe MCP panel. This is the only one-time manual Blender-side step.

Confirm it loaded

codex plugin list

Expected entry:

blender-design@partme-ai-blender  installed, enabled

Then ask Codex to start managed mode and list capabilities. Running-session truth comes from the Harness itself:

capability.list
capability.describe

The catalog is generated from the command registry, never hand-maintained, and counts are reproduced by docs/verification/capability-counts.json.

Installing on ZCode

The same repository carries a ZCode adapter (.zcode-plugin/plugin.json, plugin id blender).

Local marketplace (fastest):

  1. Create a marketplace folder with a marketplace.json pointing at this repository:

    {
      "name": "partme-ai",
      "plugins": [
        {
          "name": "blender",
          "source": { "source": "directory", "path": "/absolute/path/to/partme-blender-plugin" },
          "category": "Creativity"
        }
      ]
    }
    
  2. ZCode → 设置 → 插件 → 创建 → 添加插件市场,填该 marketplace 文件夹路径。

  3. 在「个人」分段安装 blender,新开会话。

  4. The MCP bootstrap is zero-configuration: it discovers the active Blender session descriptor and ffprobe automatically. Advanced overrides remain available through the runtime environment when needed, but are not unresolved ZCode install-time variables.

Expected after install: /blender command group (9 slash commands), 33 skills, plugin:blender:partme_blender MCP server, and a SessionStart environment check.

Installing on Kimi Code CLI

The same repository carries a Kimi adapter (kimi.plugin.json, plugin id blender). Kimi Code CLI 0.43.1 does not expose a plugin-manager command. Install the tagged repository in a stable local directory, add its skills/ directory to extra_skill_dirs in ~/.kimi-code/config.toml, and merge this server into the existing mcpServers object in ~/.kimi-code/mcp.json without replacing other servers:

"partme_blender": {
  "command": "python3",
  "args": ["/absolute/path/to/blender-design-plugin/scripts/mcp_bootstrap.py"]
}

Run kimi doctor, then start a new session. Older Kimi builds that provide a supported plugin manager may install kimi.plugin.json directly; follow the capabilities reported by the installed client rather than assuming /plugins exists.

Expected after install: 33 skills (/skill:blender-use as the router), blender:* slash commands, the partme_blender MCP server, and bundled hooks (SessionStart / UserPromptSubmit / Stop).

Hook trust note (Codex first enable)

The bundled hooks/hooks.json is a non-managed hook set. On first enable, Codex asks you to review and trust it; the hooks are advisory-only (environment check, intent routing hint, closeout reminder), always exit 0, and never block a turn.

Install from the complete PartMe catalog

The supported catalog entry is the partme-ai/full-aigc-plugins marketplace:

codex plugin marketplace add partme-ai/full-aigc-plugins
codex plugin add blender-design@partme-ai-blender

Notes:

  • The plugin repository remains full-aigc-plugins/blender-design-plugin; the marketplace repository is partme-ai/full-aigc-plugins. They have different roles.
  • For ZCode or Kimi, follow the manifests published by that marketplace instead of reusing a stale standalone-plugin URL.

Quick start

1. Prerequisites

  • Blender installed and launchable on this machine.
  • FFmpeg and ffprobe on PATH when you need MP4 export.
  • Python 3.13 available to the Harness (CI baseline).
  • Enough disk space for checkpoint snapshots and frame sequences.

2. Start a managed session

Open a new Codex task and ask for a scene. A minimal prompt that exercises modeling, previews, and export:

Use managed mode to start Blender. Create a matte-orange desktop speaker with a rounded body,
a black front grille, and one control knob. Show camera, front, side, and top previews.
When validation passes, export a new .blend, .glb, and .png into my output folder.

Expected observation: Blender launches, the Harness loads temporarily, milestone previews appear, and the export step reports a receipt with file hashes.

3. Continue in an open Blender window

Install the Connector Add-on, open your project, and ask Codex to attach. Pause and take over lets you edit directly; resuming forces a fresh scene inspection before Codex continues, so your manual edits are never overwritten by stale state.

Configuration

Environment variables

VariablePurposeDefault
CODEX_BLENDER_DESCRIPTORPath to the Harness session descriptorWritten by the launcher
CODEX_BLENDER_RUNTIME_DIROverride the runtime directoryHarness default
CODEX_BLENDER_FFMPEGOverride the FFmpeg binaryffmpeg on PATH
CODEX_BLENDER_FFPROBEOverride the ffprobe binaryffprobe on PATH

Configuration files

FilePurpose
config/blender-release-matrix.jsonWhich Blender versions are supported
config/production-profile.jsonDomains and command classes excluded from the production catalog

There are no API keys. Session authorization uses ephemeral HMAC tokens generated at session start with a 60-second default TTL, bound to a specific action.

Harness contract

Session lifecycle

PhaseInputMust completeFailure semantics
launchBlender path, runtime dirStart Blender, load the HarnessLaunch fails; no half-loaded session
handshakeSession descriptorAuthenticate and register capabilitiesSession marked unavailable
executeStructured commandMutate on the main thread, bump scene revisionReturns a stable error code
pause / takeoverUser actionRelease control to the artistHarness stays attached
resumeContinue requestRe-inspect the scene before mutatingStale state is never applied
shutdownStop requestFlush checkpoints, close transportSafe termination after timeout

Stable error codes

CodeMeaningRetryable
UNKNOWN_COMMANDCommand is not in the registryNo
INVALID_ARGUMENTArgument failed validationNo
INVALID_COMMAND_DEFINITIONRegistry entry is malformedNo
DUPLICATE_COMMANDCommand name registered twiceNo
INVALID_COMMAND_RESULTHandler returned an invalid resultNo
UNKNOWN_CAPABILITYCapability not advertised by this sessionNo
SESSION_REVOKEDAuthorization token rejected or expiredRe-authorize
SESSION_CONTROL_CHANGEDAnother actor holds controlResume with a fresh inspection

Irreversible actions require action-bound authorization: delete, overwrite, expert_python, path_escape, budget_exceeded, and recovery_resubmit.

Retry, idempotency, and recovery

  • Request IDs prevent duplicate execution; scene revisions prevent stale writes.
  • Milestone snapshots provide rollback evidence, and the transaction journal at <runtime_dir>/recovery.json drives non-restarting recovery.
  • Background jobs are snapshot-isolated: they run against a committed scene state, expose status and cancellation, and never restart work on their own.
  • Per-frame hashes make a missing frame detectable, so resume re-renders only what is missing.
  • Authorization tokens are single-purpose and time-limited; an expired token fails closed rather than replaying an action.

Data and state

DataLocationLifecycleSecrets
Session descriptor<runtime_dir>/<session_id>.jsonSession scope; removed on clean shutdownEphemeral HMAC token only
Transaction journal<runtime_dir>/recovery.jsonUntil the session completes or is discardedNone
Scene checkpointsRuntime directory snapshot storeUntil you delete themNone
Render outputsYour chosen export directoryUntil you delete themNone
Project sourcesYour .blend and asset filesNever silently overwrittenNone

Security

  • Closed structured-command allowlist; arbitrary Python execution is disabled by default and requires explicit expert_python authorization.
  • Blender data mutates only on the main thread, which prevents the class of corruption that background-thread writes cause.
  • Transports are a private Unix domain socket on macOS, a Named Pipe on Windows, and tokenized loopback TCP only as a fallback.
  • Authorization claims are HMAC-signed, TTL-limited, and bound to one action.
  • Deletion, overwriting, format extension, and external actions all require action-bound authorization.
  • The plugin bundles no credentials, and no credential is written to disk by the Harness.

Development and verification

python3 -m unittest discover -s tests
python3 scripts/validate_distribution.py .

Additional validators:

python3 scripts/validate_document.py
python3 scripts/validate_model_in_blender.py

Recorded evidence:

  • Runtime evidence — the L3/L4/L1 breakdown for the local macOS baseline.
  • Windows L4 and Rigify evidence — Windows Server 2025 x64 / Blender 5.2.1 background acceptance; it does not claim foreground UI takeover.
  • Official uploader runtime — records BLOCKED_MISSING_OFFICIAL_ADDON.
  • Capability counts — machine-checkable command inventory.
  • docs/verification/ also holds the domain coverage matrix, foreground lifecycle and policy records, and the acceptance test records.

Troubleshooting

SymptomCheck firstResolution
Blender does not launchBlender installation and PATHInstall Blender and re-run managed mode
Video export failsFFmpeg and ffprobeInstall both, or set CODEX_BLENDER_FFMPEG / CODEX_BLENDER_FFPROBE
Command returns UNKNOWN_COMMANDcapability.list for this sessionUse an advertised command, or switch connection mode
Command returns SESSION_REVOKEDAuthorization TTLRe-authorize the action
Resume behaves unexpectedlyManual edits since pauseResume forces a fresh inspection by design; re-issue the intent
Jimeng Web route is unavailableOfficial uploader presenceThe uploader is user-installed; the gate stays blocked without it
Windows parity is expectedPlatform evidenceBackground recovery, Rigify, Named Pipe, and packaging are verified; foreground UI takeover still requires an interactive Windows acceptance run

Project structure

partme-blender-plugin/
├── .codex-plugin/plugin.json   # identity, presentation metadata, receipt contract versions
├── .agents/plugins/marketplace.json
├── bin/blender_adapter         # preview-only bridge adapter
├── connector/                  # optional Blender Add-on
├── scripts/                    # Harness, launcher, exporter, validators
│   └── harness/                # transport, server, policy, authorization, snapshot
├── skills/                     # 34 domain and workflow Skills
├── config/                     # release matrix and production profile
├── tests/                      # unit, contract, and distribution tests
└── docs/                       # architecture, technical solution, verification records

Deep links

Contributing and support

Open functional issues at https://github.com/full-aigc-plugins/blender-design-plugin/issues. Before proposing a change, state the Blender version and platform you verified on, whether it alters the command registry or the authorization policy, and include the affected tests. New commands must be registered in the registry rather than added as free-form Python.

License

Apache-2.0 — see LICENSE.