|
17 | 17 | </p> |
18 | 18 |
|
19 | 19 | <p align="center"> |
20 | | - <strong>12 skills</strong> • <strong>6 rules</strong> • <strong>2 templates</strong> • <strong>17 snippets</strong> • <strong>17 examples</strong> |
| 20 | + <strong>12 skills</strong> • <strong>6 rules</strong> • <strong>2 templates</strong> • <strong>17 snippets</strong> • <strong>18 examples</strong> |
21 | 21 | </p> |
22 | 22 |
|
23 | 23 | --- |
24 | 24 |
|
25 | 25 | ## Overview |
26 | 26 |
|
27 | | -This repository ships **12 skills, 6 rules, 2 templates, 17 snippets, and 17 runnable examples** for Blender Python development targeting Blender 5.1 (current stable) with Blender 4.5 LTS fallback support. |
| 27 | +This repository ships **12 skills, 6 rules, 2 templates, 17 snippets, and 18 runnable examples** for Blender Python development targeting Blender 5.1 (current stable) with Blender 4.5 LTS fallback support. |
28 | 28 |
|
29 | 29 | The content is consumed by AI coding agents (Cursor, Claude Code, any MCP-capable client) when working on Blender add-ons, geometry nodes scripts, batch pipelines, or animation tooling. There is no build step. Edit the markdown and Python files directly. |
30 | 30 |
|
@@ -297,6 +297,23 @@ while `grease_pencils` is still legacy; on 5.x legacy is gone and GPv3 owns the |
297 | 297 | name. Point writes lazily materialize attribute layers, and every position |
298 | 298 | round-trips through the raw `POINT` buffer. |
299 | 299 |
|
| 300 | +</td> |
| 301 | +</tr> |
| 302 | +<tr> |
| 303 | +<td width="46%" valign="middle"> |
| 304 | +<a href="examples/armature-bend/"><img src="examples/armature-bend/preview.webp" alt="Armature bend: three tapered tubes on a dark studio floor showing rest, half, and full curl under a four-bone armature, per-bone weight bands blending teal through amber to coral at the joints" /></a> |
| 305 | +</td> |
| 306 | +<td valign="middle"> |
| 307 | + |
| 308 | +### [armature-bend](examples/armature-bend/) |
| 309 | + |
| 310 | +A four-bone chain built with `edit_bones` skins a tapered tube through name-bound |
| 311 | +vertex groups, posed into a curl and read back through the depsgraph. Asserts that |
| 312 | +`edit_bones` is empty outside edit mode, and that the armature modifier is exactly |
| 313 | +linear blend skinning — every evaluated vertex equals |
| 314 | +Σ wᵢ · (`pose_bone.matrix` @ `bone.matrix_local.inverted()`) @ rest, with the root |
| 315 | +ring pinned and the tip deflected. A straight tube is a failure. |
| 316 | + |
300 | 317 | </td> |
301 | 318 | </tr> |
302 | 319 | </table> |
|
0 commit comments