Skip to content

Blender 5.2+ Support - #70

Merged
carson-katri merged 8 commits into
mainfrom
ck/blender-5
Oct 11, 2026
Merged

carson-katri merged 8 commits into
mainfrom
ck/blender-5

Conversation

@carson-katri

@carson-katri carson-katri commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner

This is essentially a full rewrite to support Blender 5.2 and newer versions. It is not backwards compatible.

It is now an extension, not an add-on. It will be prebuilt for specific Blender versions, instead of building the API in Blender.

I've also included some skills so Claude can use it to build geometry node trees. It seems like it may be more effective than Claude using the plain Blender MCP.

Replace the hand-written node mapper and static helpers with an api/nodes.py
generated by introspecting Blender, add zone/item runtime support, a Blender
extension manifest, a smoke test, and a scheduled workflow that regenerates
nodes from the latest Blender release.
tools/build.py stages the tracked sources, regenerates api/nodes.py with the
given Blender, limits the manifest to that Blender series, runs the smoke test
and packages the extension with `blender --command extension build`.

The build workflow tests every Blender series at or above
blender_version_min (alpha/beta daily builds are non-blocking), uploads the
zips as artifacts, and refreshes a `nightly` prerelease on pushes to main.

Also move paths_exclude_pattern under [build], where Blender reads it, so
dev-only files are no longer packaged.
geometry_script.shader provides @shader node groups, @Material and @world
with the shader nodes; geometry_script.compositor provides @compositor with
the compositor nodes. The generator writes one node module per tree type,
and the agent tools report and describe every tree type.
Saving modifier input values kept Color and Vector values as live
bpy_prop_array views into the modifier's memory. The rebuild frees that
memory, so restoring read garbage (e.g. a color of (-10000, 10000, ...))
or segfaulted Blender. Copy array values to tuples when saving them, and
add a smoke test that rebuilds a tree with Color and Vector inputs.
<, <=, >, >=, == and != on sockets add a Compare node typed from both
operands, or Math nodes in shader and compositor trees. Sockets stay
hashable, and == with operands a Compare node cannot take falls back to
identity.

Also stop setting structure_type on shader and compositor tree outputs,
which only Geometry Nodes interfaces support.
@carson-katri carson-katri changed the title Blender 5 Support Blender 5.2+ Support Oct 11, 2026
The repository root is the plugin, so the skill keeps its tools/ paths.
Document the install command in the README and agent tools page, keep
.claude-plugin/ out of the extension ZIP, and validate the plugin in CI.
@carson-katri
carson-katri merged commit e40db10 into main Oct 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant