Procedural Blender Nodes 标志

Procedural Blender Nodes

社区
gokayfem
procedural-blender-nodes

Builds, debugs, and art-directs procedural Blender node systems from Python: Geometry Nodes generators and modifiers, Shader Node materials, simulation and repeat zones, analytic animation, and compositor looks, as readable node groups with artist controls that work on new input geometry. Ships nodekit (a graph builder and inspector), a tested NK node-group library (curve placement, shapes, scatter, motion, materials, post), templates, and a checker. Use when the user wants a Geometry Nodes setup, a procedural asset or generator in Blender, a bpy script that creates node trees, node-based materials or effects, or wants such a script fixed, ported to Blender 5.x, organised, or explained; also for recreating a reference (image, clip or description) as an editable node system. Not for Unity/Unreal/Houdini graphs, three.js, or plain mesh modelling without nodes.

概览

发布者gokayfem
代码仓库video-to-blender
技能名称procedural-blender-nodes
星标数
85
复刻数
7
附带文件
41
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 41 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 gokayfem 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Procedural Blender Nodes AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/gokayfem/video-to-blender/tree/main/skills/procedural-blender-nodes
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gokayfem/video-to-blender.git /tmp/video-to-blender
mkdir -p .claude/skills
cp -r /tmp/video-to-blender/skills/procedural-blender-nodes .claude/skills/procedural-blender-nodes
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Procedural Blender Nodes,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Procedural Blender Nodes。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Procedural Blender Nodes 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Procedural Blender Nodes

Treat a node system as an explanation of an effect: decide what it must produce and on what inputs, build it as named node groups an artist can read, expose the few controls that matter, and prove it by rendering it, changing those controls, and running it on other inputs.

Workflow

  1. Target. State the effect: what geometry, materials and motion; the input it runs on (a curve, a mesh, a point set, nothing); what an artist should be able to change; the shot or use that judges it.
  2. Route. Pick the technique and a starting template from references/subject-routing.md: curve-space layout, surface scatter, instanced assemblies, mesh modelling, analytic animation, simulation zone, shader-only.
  3. Assemble from the library. Find groups with python3 scripts/nodes_tools.py search <words> or references/library-index.md, and instance them (Graph.group(builder(), ...)). Do not rebuild what the library has; it is tested.
  4. Build through nodekit. Write a Python build script: nodekit.graph.Graph creates each group (inputs with descriptions, ranges and panels; frames around each block), a top-level modifier group composes them, and the script creates the scene and saves the .blend. The .blend's node graph is the deliverable; the script makes it reproducible. See references/nodekit-guide.md.
  5. First result fast. One part, its test input, one render: python3 scripts/nodes_tools.py try -- --module <your.module> --root <dir> --png out/try.png. Look at the image. Then grow part by part, judging the full assembly, not parts alone.
  6. Refine in order: silhouette and proportions, layout and density, materials, light and look, motion. Calibrate against the reference (if any) with measurements over time or across views, not one frame.
  7. Controls. A Primary panel with a handful of macro controls; detailed panels per part; presets as JSON. Sweep each primary control and look at the results (scripts/sweep.py).
  8. Validate. scripts/validate.py reopens the saved file: zero node warnings, zero lint, evaluation time, camera clearance. Run the effect on other inputs. For animation, render a continuous sequence and check it for sliding, popping and flicker. Rebuild twice and diff the graph dumps.

Run the scripts from this skill's directory. They need Python 3 and Blender 5.2+ ($BLENDER, blender on PATH, or the macOS app); nodes_tools.py starts Blender itself.

Conventions

  • Python builds native nodes. Every tree is built with Graph (Geometry, Shader or Compositor). Sockets are found by name among enabled sockets ("Value#1" for duplicates); set node properties via props= before inputs, because properties change which sockets exist.
  • Groups explain. Name groups for what they make (NK Curve Parcels, My Effect Roof), describe every group and input, frame every block with a sentence ("Parcels: split each side into houses"). Split reusable parts into sub-groups. Graph.finish() lays out frames left to right and gives each frame its own Group Input.
  • Time. Animated groups take a Time input in seconds. Only the top-level modifier group reads Scene Time (with Time Scale and Time Offset controls), so parts stay testable and retimable.
  • Space. Model in the input's space (curve space: s along, d left, h up; or object space) and place through the library's frame groups, so the effect follows any curve or mesh.
  • Variation into materials. Store nk_color (FLOAT_COLOR) and nk_rand (FLOAT 0–1) per piece; materials read them with an Attribute node (type GEOMETRY) after realize.
  • Shared groups build once (@nodegroup or nodekit.graph.once). Rebuilding a group other groups use clears its interface and silently unlinks them.
  • Analytic first. Periodic or driven motion is a function of Time. Use a simulation zone only for state: accumulation, growth, collisions, anything whose next frame depends on the last.

Hard rules (these break Blender 5.2 scripts)

  • Modifier inputs are not ID properties: use nodekit.inspect.set_modifier_inputs(mod, {"Name": value}), never mod["Socket_2"].
  • Never rebuild a shared node group in place after other groups use it (see Conventions).
  • Mode switches on Transform, Resample and Set Curve Normal, and Remove Named Attribute's pattern mode, are input sockets, not node properties. Texture outputs are named "Factor".
  • Field-default sockets (Extrude Mesh Offset) ignore constants; link a node.
  • In background mode, drivers update only for the window's scene: set bpy.context.window.scene before frame_set, render with bpy.ops.render.render(scene=...).
  • EEVEE world volumes swallow the sun: do distance haze in the compositor on premultiplied geometry.
  • Always run Blender as blender -b --factory-startup --python script.py -- args; pass negative CLI values as --x=-1.
  • Every input gets a description, every group a description; zero node warnings, zero check_groups lint.

The full list with fixes is in references/blender-api-notes.md.

Reference routing

Read only what the task needs:

FileRead when
references/subject-routing.mdstarting from a subject ("a fence along a path", "ivy over a statue"): technique, groups, template
references/library-index.mdchoosing groups: every NK group with inputs, summary and uses
references/nodekit-guide.mdwriting the build script: Graph API, zones, frames, layout, inspect, the scripts
references/geometry-nodes-patterns.mdfields and domains, instancing vs realize, attributes into materials, booleans, budgets, per-frame cost
references/animation-and-simulation.mdmotion: analytic vs simulation zone, integrated phase, planted feet, springs, wind, loops, caches
references/controls-and-presets.mddesigning the modifier panel, macro controls, presets, sweeps
references/materials-and-look.mdShader Node materials, attribute variation, EEVEE, AgX, light, compositor haze and glow, calibration
references/validation-and-review.mdbefore delivering: determinism, reopen-and-validate, reuse, temporal checks, honest reporting
references/blender-api-notes.mda Blender 5.x API error or surprise
../../prompts/reference-to-nodes-prompt.md (repository)recreating a reference video, image or description as a node system

Templates in templates/ are complete, render-verified build scripts (gallery in the repository README); each builds a .blend whose top modifier group runs on its own test input and on others.

Output expectations

When building an effect:

  • Deliver the build script and the .blend it saves. The .blend holds native node groups, not baked geometry or image sequences (state any image texture you use and why).
  • The top-level modifier group has a Primary panel, then per-part panels; every group and input is described.
  • End with a short guide: the primary controls, what each part group does, how to run it on new input, and how it was validated (check/validate output, renders looked at, inputs tried).
  • Separate what is implemented from what is approximated or out of scope; do not call an analytic sway a cloth simulation, or a texture mask modelled geometry.

When fixing or porting an existing node script:

  • Identify how it builds trees and where it breaks on Blender 5.2 (modifier inputs, socket names, modes as inputs).
  • Preserve the graph's interface (input names and order) unless asked; call out any change.
  • Fix correctness first, then readability (frames, descriptions, layout), then performance.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Procedural Blender Nodes AI 技能有什么作用?

Builds, debugs, and art-directs procedural Blender node systems from Python: Geometry Nodes generators and modifiers, Shader Node materials, simulation and repeat zones, analytic animation, and compositor looks, as readable node groups with artist controls that work on new input geometry. Ships nodekit (a graph builder and inspector), a tested NK node-group library (curve placement, shapes, scatter, motion, materials, post), templates, and a checker. Use when the user wants a Geometry Nodes setup, a procedural asset or generator in Blender, a bpy script that creates node trees, node-based m...

为什么在 TypingMind 中使用 Procedural Blender Nodes?

因为您只需安装一次,就能搭配任何模型使用。Procedural Blender Nodes 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Procedural Blender Nodes?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/gokayfem/video-to-blender/tree/main/skills/procedural-blender-nodes。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Procedural Blender Nodes?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Procedural Blender Nodes 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Procedural Blender Nodes 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Procedural Blender Nodes AI 技能免费吗?

是的。gokayfem 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇