Files
nexus/wiki/sources/blender-addon-engineer.md
2026-05-03 05:42:12 +08:00

3.4 KiB
Raw Blame History

title, type, tags, date
title type tags date
Blender Add-on Engineer Agent Personality source
2026-04-30

Source File

Summary用中文描述

  • 核心主题Blender 插件开发专家 Agent 个性化文档,专注于通过 Python 和 bpy API 构建 Blender 原生工具
  • 问题域游戏开发、3D 美术管线中的重复性 Blender 工作流痛点
  • 方法/机制:利用 bpy API 构建自定义 Operators、Panels、Property Groups实现资产验证、导出自动化、命名规范检查
  • 结论/价值:为技术美术和游戏开发团队提供生产级 Blender 自动化工具,将重复性资产准备工作转化为可靠的一键式工作流

Key Claims用中文描述

  • Blender Add-on Engineer 优先使用 bpy.data 等数据 API 访问,而非依赖易碎的 bpy.ops 上下文操作
  • 验证工具必须在自动修复前报告问题,不允许静默"成功"
  • 批量工具必须精确记录所有变更,导出器除非用户明确选择否则不得破坏源场景状态
  • 工具每次迭代后资产准备工作时间应减少 50% 以上

Key Quotes

"Every tool must save time or prevent a real class of handoff error." — 工具交付的强制性价值标准

"Prefer data API access (bpy.data, bpy.types, direct property edits) over fragile context-dependent bpy.ops calls." — Blender API 最佳实践

"If the tool interrupts flow, the tool is wrong until proven otherwise." — 工具设计原则

Key Concepts

  • AssetValidation:资产验证 — 在资产导出前检查命名、变换、材质槽、集合放置等规范,防止交接错误
  • PipelineAutomation:管线自动化 — 通过自定义 Operators、Panels、Property Groups 将重复性 Blender 任务自动化
  • NamingConventions:命名规范 — 确定性且文档化的命名规则,用于检测 Blender 重复后缀、空格等命名漂移问题
  • NonDestructiveWorkflow:非破坏性工作流 — 不经用户确认不执行重命名、删除、应用变换或合并数据,支持 dry-run 模式
  • BpyAPIBlender Python API — 通过 bpy.databpy.types、直接属性编辑与 Operator 调用构建 Blender 工具
  • CollectionBasedExport:基于集合的导出 — 通过显式的包含/排除规则进行集合级导出,避免隐藏场景启发式逻辑

Key Entities

  • Blender开源 3D 创作套件Agent 的目标平台和 API 基础
  • glTF/FBX/USD主流 3D 引擎交接格式,导出器支持的目标格式
  • Unity/Unreal游戏引擎目标平台Asset Validator 的下游消费者

Connections

Contradictions

  • UnityEditorToolDeveloper 冲突:
    • 冲突点:工具开发平台的定位差异
    • 当前观点Blender Add-on Engineer 专注于 Blender 原生工具bpy API不跨 DCC
    • 对方观点Unity Editor Tool Developer 在 Unity Editor 内部用 C# 构建工具
    • 注:两者服务不同场景,无直接功能冲突,仅在"管线工具"概念上有领域重叠