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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    Impertio-StudioがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルBlender Errors VersionをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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を有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にBlender Errors Versionを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Blender Errors Versionは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

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を読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Blender Errors Versionを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Blender Errors Versionは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもBlender Errors Versionを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Blender Errors Version」は無料ですか?

はい。Impertio-StudioがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇