Blender Errors Version 标志

Blender Errors Version

组织
Impertio-Studio
blender-errors-version

Use when debugging Blender AttributeError from removed APIs, ImportError from deprecated modules (bgl in 5.0), or breaking changes in operator signatures between versions. Prevents silent failures from using APIs that were renamed or removed in newer Blender versions. Provides migration patterns from 3.x to 4.x to 5.x with complete replacement mappings. Keywords: AttributeError, ImportError, deprecated, version error, bgl, migration, breaking change, removed API, 3.x to 4.x, 4.x to 5.x, Blender upgrade, module has no attribute, addon not compatible.

概览

发布者Impertio-Studio
代码仓库Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package
技能名称blender-errors-version
星标数
44
复刻数
5
附带文件
3
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 3 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package.git /tmp/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package
mkdir -p .claude/skills
cp -r /tmp/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/skills/blender/errors/blender-errors-version .claude/skills/blender-errors-version
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Blender Errors: Version Compatibility

Diagnose and resolve Python API errors caused by Blender version differences. This skill activates when encountering AttributeError, ImportError, TypeError, KeyError, or RuntimeError in Blender scripts that result from using removed, renamed, or restructured APIs.

Dependency: blender-core-versions — version matrix and detection API.


1. Error Diagnosis Decision Tree

When a Blender Python script raises an error, follow this decision tree:

ERROR RECEIVED
│
├── AttributeError?
│   ├── "has no attribute 'bevel_weight'" → Blender 4.0+ mesh attribute migration [E-01]
│   ├── "has no attribute 'crease'" → Blender 4.0+ mesh attribute migration [E-01]
│   ├── "has no attribute 'use_auto_smooth'" → Blender 4.1+ auto-smooth removal [E-02]
│   ├── "has no attribute 'auto_smooth_angle'" → Blender 4.1+ auto-smooth removal [E-02]
│   ├── "has no attribute 'face_maps'" → Blender 4.0+ face maps removal [E-03]
│   ├── "has no attribute 'layers'" (on Bone) → Blender 4.0+ bone collections [E-04]
│   ├── "has no attribute 'bone_groups'" → Blender 4.0+ bone collections [E-04]
│   ├── "has no attribute 'inputs'" (on NodeTree) → Blender 4.0+ interface API [E-05]
│   ├── "has no attribute 'outputs'" (on NodeTree) → Blender 4.0+ interface API [E-05]
│   ├── "has no attribute 'sculpt_tool'" → Blender 5.0+ brush rename [E-06]
│   ├── "has no attribute 'node_tree'" (on Scene) → Blender 5.0+ compositor [E-07]
│   ├── "has no attribute 'use_nodes'" (on Scene) → Blender 5.0+ compositor [E-07]
│   ├── "has no attribute 'end_frame'" (on Strip) → Blender 5.0+ VSE [E-08]
│   ├── "has no attribute 'fcurves'" (on Action) → Blender 5.0+ slotted actions [E-09]
│   ├── "has no attribute 'displacement_method'" (on CyclesMaterial) → Blender 4.1+ [E-10]
│   ├── "has no attribute 'active_color_name'" → Blender 4.3+ AttributeGroup split [E-11]
│   ├── "has no attribute 'use_ssr'" → Blender 4.3+ EEVEE property removal [E-12]
│   ├── "has no attribute 'use_bloom'" → Blender 4.3+ EEVEE property removal [E-12]
│   └── "has no attribute 'calc_normals'" → Blender 4.0+ auto normals [E-13]
│
├── ImportError / ModuleNotFoundError?
│   ├── "No module named 'bgl'" → Blender 5.0+ BGL removal [E-14]
│   ├── "No module named 'io_scene_obj'" → Blender 4.0+ C++ IO [E-15]
│   └── "No module named 'io_mesh_ply'" → Blender 4.0+ C++ IO [E-15]
│
├── TypeError?
│   ├── On bpy.ops call with dict first arg → Blender 4.0+ context override [E-16]
│   ├── "foreach_set() invalid data type" → Blender 4.1+ validation [E-17]
│   ├── On IDProperty type mismatch → Blender 4.2+ static typing [E-18]
│   └── On __init__() argument mismatch → Blender 4.4+ super() required [E-19]
│
├── KeyError?
│   ├── "Subsurface" (on Principled BSDF) → Blender 4.0+ socket renames [E-20]
│   ├── "Specular" (on Principled BSDF) → Blender 4.0+ socket renames [E-20]
│   ├── "cycles" (on scene[]) → Blender 5.0+ dict access removal [E-21]
│   └── Node socket name not found → Version-dependent socket names [E-20]
│
├── RuntimeError?
│   ├── "Embedded ID assignment" → Blender 4.3+ PointerProperty [E-22]
│   └── "BLENDER_EEVEE" engine not found → EEVEE identifier change [E-23]
│
└── ValueError?
    ├── "'CUBEMAP' not in enum" → Blender 4.1+ light probe renames [E-24]
    ├── "'PLANAR' not in enum" → Blender 4.1+ light probe renames [E-24]
    ├── "'3D_UNIFORM_COLOR' not found" → Blender 4.0+ shader renames [E-25]
    └── "'BLENDER_EEVEE_NEXT' not in enum" → Blender 5.0+ EEVEE revert [E-23]

2. Error Patterns: Quick Resolution Table

Blender 4.0 Breaking Errors

Error CodeError Message PatternRemoved APIReplacementSince
E-01AttributeError: 'MeshEdge' has no attribute 'bevel_weight'mesh.edges[i].bevel_weightmesh.attributes.get("bevel_weight_edge")4.0
E-01AttributeError: 'MeshEdge' has no attribute 'crease'mesh.edges[i].creasemesh.attributes.get("crease_edge")4.0
E-03AttributeError: 'Object' has no attribute 'face_maps'obj.face_mapsInteger face attributes4.0
E-04AttributeError: 'Bone' has no attribute 'layers'bone.layers[i]bone.collections4.0
E-04AttributeError: 'Pose' has no attribute 'bone_groups'pose.bone_groupsBone collections + colors4.0
E-05AttributeError: 'NodeTree' has no attribute 'inputs'NodeTree.inputs.new()NodeTree.interface.new_socket()4.0
E-13AttributeError: 'Mesh' has no attribute 'calc_normals'mesh.calc_normals()Removed (auto-calculated)4.0
E-15ModuleNotFoundError: No module named 'io_scene_obj'Python OBJ/PLY IObpy.ops.wm.obj_import/export4.0
E-16TypeError: bpy.ops expects keyword argumentsDict context overridecontext.temp_override()4.0
E-20KeyError: 'Subsurface' on Principled BSDFOld socket namesSubsurface Weight, etc.4.0
E-25ValueError: '3D_UNIFORM_COLOR' not found3D_* shader namesPOLYLINE_* / prefix removed4.0

Blender 4.1 Breaking Errors

Error CodeError Message PatternRemoved APIReplacementSince
E-02AttributeError: 'Mesh' has no attribute 'use_auto_smooth'mesh.use_auto_smoothmesh.corner_normals + Smooth by Angle modifier4.1
E-02AttributeError: 'Mesh' has no attribute 'auto_smooth_angle'mesh.auto_smooth_angleSmooth by Angle modifier4.1
E-10AttributeError: 'CyclesMaterialSettings' has no attribute 'displacement_method'mat.cycles.displacement_methodmat.displacement_method4.1
E-17TypeError: foreach_set() invalid data typeSilent failure on bad typesAdd type validation4.1
E-24ValueError: 'CUBEMAP' not in enumCUBEMAP/PLANAR/GRIDSPHERE/PLANE/VOLUME4.1

Blender 4.2 Breaking Errors

Error CodeError Message PatternRemoved APIReplacementSince
E-18TypeError: IDProperty type mismatchDynamic IDProperty typesStatic typing enforced4.2
E-23RuntimeError: 'BLENDER_EEVEE' not found (in 4.2-4.x)BLENDER_EEVEEBLENDER_EEVEE_NEXT4.2

Blender 4.3 Breaking Errors

Error CodeError Message PatternRemoved APIReplacementSince
E-11AttributeError: 'AttributeGroup*' has no attribute 'active_color_name'Generic AttributeGroupAttributeGroupMesh (type-specific)4.3
E-12AttributeError: 'EEVEE' has no attribute 'use_ssr'40+ EEVEE legacy propsProperties removed (engine-internal)4.3
E-22RuntimeError: Embedded ID assignmentEmbedded ID to PointerPropertyDo not assign embedded IDs4.3

Blender 4.4 Breaking Errors

Error CodeError Message PatternRemoved APIReplacementSince
E-19TypeError: __init__() argument mismatchNo super().__init__()super().__init__(*args, **kwargs)4.4

Blender 5.0 Breaking Errors

Error CodeError Message PatternRemoved APIReplacementSince
E-14ModuleNotFoundError: No module named 'bgl'import bglimport gpu + gpu.state.*5.0
E-06AttributeError: 'Brush' has no attribute 'sculpt_tool'brush.sculpt_toolbrush.sculpt_brush_type5.0
E-07AttributeError: 'Scene' has no attribute 'node_tree'scene.node_tree (compositor)scene.compositing_node_group5.0
E-08AttributeError: 'Strip' has no attribute 'end_frame'strip.end_framestrip.length5.0
E-09AttributeError: 'Action' has no attribute 'fcurves'action.fcurves (legacy)Slotted Actions channelbag API5.0
E-21KeyError: 'cycles' on scene['cycles']Dict access to RNA propsscene.cycles.samples (attribute)5.0

3. Deprecation Timeline

ALWAYS check this timeline before using any API. If the current Blender version is past the removal date, the API WILL raise an error.

APIDeprecatedRemovedWarning Period
Context override dicts3.24.03.2 → 3.6 (4 releases)
mesh.calc_normals()3.44.03.4 → 3.6 (2 releases)
MeshEdge.bevel_weight / .crease3.44.03.4 → 3.6 (2 releases)
NodeTree.inputs/outputs3.44.03.4 → 3.6 (2 releases)
3D_UNIFORM_COLOR shader3.44.03.4 → 3.6 (2 releases)
bgl module3.55.03.5 → 4.x (long, 9+ releases)
mesh.use_auto_smooth4.04.14.0 only (1 release)
Light probe CUBEMAP/PLANAR/GRID4.04.14.0 only (1 release)
bl_info dict (for extensions)4.2OngoingStill works as legacy addon
BLENDER_EEVEE identifier4.24.2 (temp)Renamed to _NEXT, reverted in 5.0
EEVEE legacy properties (40+)4.24.34.2 only (1 release)
bpy.types.AttributeGroup (generic)4.24.34.2 only (1 release)
bpy.types.Sequence (VSE)4.34.44.3 only (1 release)
action.fcurves (legacy)4.45.04.4 → 4.5 (2 releases)
Image.bindcode / gl_load()4.05.04.0 → 4.x (long)
scene['cycles'] dict access4.25.04.2 → 4.x
scene.node_tree (compositor)4.25.04.2 → 4.x
VSE time property names5.16.05.1 → 5.x (future)

4. Diagnostic Patterns

Pattern 1: Identify Version from Error

When a user reports an error without specifying their Blender version, ALWAYS determine the version first:

python
# Blender 3.x / 4.x / 5.x: Print diagnostic info
import bpy
print(f"Blender: {bpy.app.version}")
print(f"Python: {bpy.app.version_string}")
print(f"Cycle: {bpy.app.version_cycle}")

Pattern 2: Version-Safe Error Recovery

ALWAYS use hasattr() for graceful degradation. NEVER catch AttributeError silently.

python
# Blender 3.x / 4.x / 5.x: Version-safe accessor with explicit fallback
import bpy

def get_bevel_weight(mesh, edge_index):
    """Get edge bevel weight with version-safe fallback."""
    if bpy.app.version >= (4, 0, 0):
        attr = mesh.attributes.get("bevel_weight_edge")
        if attr:
            return attr.data[edge_index].value
        return 0.0
    else:
        return mesh.edges[edge_index].bevel_weight

Pattern 3: Multi-Version Compatibility Wrapper

For addons targeting multiple Blender versions, use a compatibility module:

python
# Blender 3.x / 4.x / 5.x: compat.py module pattern
import bpy

BLENDER_4 = bpy.app.version >= (4, 0, 0)
BLENDER_41 = bpy.app.version >= (4, 1, 0)
BLENDER_42 = bpy.app.version >= (4, 2, 0)
BLENDER_43 = bpy.app.version >= (4, 3, 0)
BLENDER_44 = bpy.app.version >= (4, 4, 0)
BLENDER_5 = bpy.app.version >= (5, 0, 0)
BLENDER_51 = bpy.app.version >= (5, 1, 0)

5. Critical Rules

  1. NEVER suppress DeprecationWarning in Blender scripts — it hides migration signals.
  2. NEVER use try/except AttributeError as a version check — use bpy.app.version or hasattr().
  3. ALWAYS check the deprecation timeline BEFORE using any Blender API.
  4. ALWAYS test addons on the OLDEST supported version, not just the newest.
  5. NEVER assume backward compatibility of .blend files across major API rewrites (Grease Pencil 4.3, Slotted Actions 4.4, Compositor 5.0).
  6. ALWAYS restore gpu.state to defaults at the end of draw callbacks.
  7. NEVER use bgl in any new code — it is REMOVED in Blender 5.0.
  8. ALWAYS use context.temp_override() instead of dict overrides in Blender 4.0+.

6. Reference Links

Official Documentation

附带文件

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

常见问题

Blender Errors Version AI 技能有什么作用?

Use when debugging Blender AttributeError from removed APIs, ImportError from deprecated modules (bgl in 5.0), or breaking changes in operator signatures between versions. Prevents silent failures from using APIs that were renamed or removed in newer Blender versions. Provides migration patterns from 3.x to 4.x to 5.x with complete replacement mappings. Keywords: AttributeError, ImportError, deprecated, version error, bgl, migration, breaking change, removed API, 3.x to 4.x, 4.x to 5.x, Blender upgrade, module has no attribute, addon not compatible.

为什么在 TypingMind 中使用 Blender Errors Version?

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

如何在 TypingMind 中安装 Blender Errors Version?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/tree/main/skills/blender/errors/blender-errors-version。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Blender Errors Version?

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

Blender Errors Version 可以搭配多少个 AI 模型使用?

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

Blender Errors Version AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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