geometry-nodes-python

Installation
SKILL.md

Geometry Nodes in Python

Trigger

Use this skill when the user:

  • Wants to build a Geometry Nodes tree from a script rather than the editor
  • Mentions GeometryNodeTree, node_groups.new, tree.interface, tree.links.new
  • Needs to apply a generated GN tree as a modifier on an object
  • Asks about Bundles, Repeat Zones, or for-each Element zones from Python

High-level shape

The Python pattern for building a Geometry Nodes tree has four phases:

  1. Create the node group and its interface (input and output sockets).
  2. Instantiate nodes by their exact RNA bl_idname.
  3. Wire nodes with tree.links.new.
  4. Add a NODES modifier on the target object that points at the group.
Installs
1
GitHub Stars
12
First Seen
6 days ago
geometry-nodes-python — tmhsdigital/blender-developer-tools