Repository navigation
Blender 5.2+ Support - #70
Merged
Merged
Conversation
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.