blender-syntax-modifiers

Apply Blender Python modifiers and read evaluated mesh geometry safely.

30|4|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package --skill blender-syntax-modifiers-impertio-studio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: blender-syntax-modifiers
Source: https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/tree/main/skills/blender/syntax/blender-syntax-modifiers
Command: npx skills add https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package --skill blender-syntax-modifiers-impertio-studio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents common Blender Python modifier mistakes that produce wrong geometry, runtime errors, or memory leaks by enforcing correct object mode, depsgraph-evaluated reads, and Geometry Nodes identifier handling.

Core Features & Use Cases

  • Safe modifier application: Applies modifiers using the correct operator context and Blender-version-safe overrides (Object Mode and context.temp_override() in modern Blender).
  • Correct post-modifier geometry access: Reads evaluated mesh data via evaluated_get(depsgraph).to_mesh() and reliably frees it with to_mesh_clear() to avoid leaks.
  • Geometry Nodes input correctness: Assigns and updates Geometry Nodes modifier inputs using interface socket identifiers (e.g., Socket_N), not display names.
  • AEC-relevant workflows: Covers typical building-model modifier patterns such as Array, Boolean openings, Solidify wall thickness, and parametric NODES generation.

Quick Start

Ask the AI to add an ARRAY modifier to the object "Wall", configure it, apply it in Object Mode, and then print the evaluated vertex count using a depsgraph-based evaluated mesh read for verification.

Frequently Asked Questions about blender-syntax-modifiers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply Blender modifiers safely using Python without runtime errors?

To read evaluated mesh data in Blender Python, call object.evaluated_get(depsgraph).to_mesh() and always execute to_mesh_clear() afterward to prevent memory leaks.

How do I set Geometry Nodes modifier inputs correctly in Blender Python?

Assign Geometry Nodes modifier inputs using interface socket identifiers like Socket_N instead of UI display names to ensure correct parameter mapping and avoid assignment failures.

Why does reading evaluated geometry in Blender Python cause memory leaks?

Reading evaluated geometry leaks memory when to_mesh_clear() is omitted after calling to_mesh() on a depsgraph-evaluated object, leaving unreleased mesh data allocated in memory.

Can I use this modifier handling approach for AEC workflows in Blender?

Yes, this approach supports AEC workflows by safely applying Array, Boolean, and Solidify modifiers for building models and generating parametric geometry via Geometry Nodes.

Does this Blender Python modifier handling work across Blender 3.x to 5.x?

Yes, it handles Blender 3.x to 5.x by using version-safe context overrides for modifier_apply and consistent depsgraph-evaluated geometry reads across versions.