From 60db427fc65cb523af1c018dc3e559e5157d5450 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 4 May 2026 14:24:42 +0100 Subject: [PATCH] Record upstream nodes-to-script prototype --- docs/research/geometry-script-fork-notes.md | 26 +++++++++++++++++++++ state/evidence.jsonl | 1 + 2 files changed, 27 insertions(+) diff --git a/docs/research/geometry-script-fork-notes.md b/docs/research/geometry-script-fork-notes.md index 7729f63..de0eaf6 100644 --- a/docs/research/geometry-script-fork-notes.md +++ b/docs/research/geometry-script-fork-notes.md @@ -28,6 +28,32 @@ vibegeometry/blender-5-nested-tree-groups Upstream may still have historical branches such as `gh-pages` or `nodes_to_script`; those are upstream history, not GameCult fork policy. +## Upstream `nodes_to_script` Branch + +Upstream's historical `nodes_to_script` branch is real and potentially useful, +but should be treated as prototype material rather than a drop-in dependency. + +Observed on 2026-05-04: + +- Branch head: `b78ec37` (`Improve dot access handling`, 2023-03-01). +- Merge base with current `main`: `5fbc7d1`. +- Main has substantial later work not present on the branch, including Blender + 4 `NodeTree.interface` migration, nested tree checks, repeat-zone support, + and Blender 3/4 compatibility fixes. +- The branch adds `operators/convert_tree.py` and registers a + `geometry_script.convert_tree` node editor operator. + +The operator walks the active node tree, creates one assignment per node, reads +enabled input defaults and node-specific properties, follows links into +arguments, topologically sorts from `Group Output`, then writes a generated +`@tree(...)` script into a Blender text datablock. + +That makes it useful as a translation assistant or bootstrap oracle. It does +not replace manual doctrine-building yet: output quality, Blender 5.1 +compatibility, interface sockets, zones, nested groups, multi-input sockets, +and current Geometry Script API drift all need testing before VibeGeometry +leans on it. + Patch work belongs in this clone first, then in a fork branch/PR. Do not patch the installed AppData add-on directly. That path is live installation state, not source control, and it will quietly become a stupid little archaeological layer diff --git a/state/evidence.jsonl b/state/evidence.jsonl index 4f29b3f..1502505 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -12,3 +12,4 @@ {"ts": "2026-05-04T12:56:02+00:00", "type": "implementation", "status": "accepted", "note": "Extended fieldvalue translation with Create Segment -> VG Create Segment. Verified horizontal and vertical segment cases against source with 6 vertices each and sorted max vertex delta 0.0. Doctrine added: field masks can act as chisels over regular seed meshes, gating vertex offsets by local position conditions."} {"ts": "2026-05-04T13:11:35+00:00", "type": "tooling", "status": "accepted", "note": "Created and pushed GameCult/VibeGeometry remote. Forked Geometry Script to GameCult/geometry-script, pushed branch vibegeometry/blender-5-nested-tree-groups, and opened upstream PR https://github.com/carson-katri/geometry-script/pull/69 for the nested @tree group reference fix."} {"ts": "2026-05-04T13:22:50+00:00", "type": "tooling", "status": "accepted", "note": "Pruned inherited upstream-only branches gh-pages and nodes_to_script from GameCult/geometry-script. The fork branch surface is intentionally main plus vibegeometry/blender-5-nested-tree-groups while upstream may retain its own historical branch soup."} +{"ts": "2026-05-04T13:24:38+00:00", "type": "research", "status": "accepted", "note": "Upstream Geometry Script nodes_to_script branch is a real node-tree-to-script prototype from 2023-03-01. It adds operators/convert_tree.py, which walks a node tree and emits a @tree script text datablock, but it predates Blender 4 interface migration and later main-branch fixes, so VibeGeometry should treat it as a translation assistant candidate to port/test rather than a current drop-in dependency."}