Refactor geometry node arrangement system
- Removed obsolete files: sections.py, semantics.json, and sources.py. - Introduced new modules: branches.py and layout.py for improved calculation block identification and layout planning. - Implemented a unified layout strategy for geometry nodes, ensuring consistent spacing and organization. - Added comprehensive documentation for the new layout design and its goals. - Established a migration plan for transitioning existing assets to the new layout system. - Updated tests to validate the new arrangement logic and ensure compatibility with existing geometry node structures.
This commit is contained in:
15
openspec/changes/joint-geometry-node-layout/tasks.md
Normal file
15
openspec/changes/joint-geometry-node-layout/tasks.md
Normal file
@@ -0,0 +1,15 @@
|
||||
## 1. 联合排列实现
|
||||
|
||||
- [x] 1.1 按最近几何消费者集合及连通关系识别计算块,并按消费区域局部读取接口值。
|
||||
- [x] 1.2 实现列内计算层次、中继空间及计算块与共享通道的联合规划。
|
||||
- [x] 1.3 在规划完成后创建位置、Reroute 和 Frame,保留真实连接与多输入顺序。
|
||||
- [x] 1.4 替换原排列入口,移除失去用途的旧排列模块及引用。
|
||||
|
||||
## 2. 资产与验证
|
||||
|
||||
- [x] 2.1 将排列回归扩展到全部 7 个几何资产,比较程序结构及代表性模式的几何结果。
|
||||
- [x] 2.2 检查真实节点矩形重叠及重复排列后的程序、局部输入数量。
|
||||
- [x] 2.3 构建并保存 O_AnyImage.blend,在独立 Blender 进程重新加载检查。
|
||||
- [x] 2.4 导出全部几何资产的交互预览,对照选定风格检查 Cutout、Depth Plane 和 Panorama 的完整布局。
|
||||
|
||||
验证记录:上一轮使用 `uv run --no-sync node-group build --skip-tests` 完成构建及保存后检查;在 Blender 4.5.10 LTS 中运行排列与 Image Plane 相关测试,11 项通过。常规 `uv run` 同步遇到占用文件后,使用既有环境构建,并从同版本缓存恢复缺失的 bpy 文件。
|
||||
Reference in New Issue
Block a user