|
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>16 examples</strong> |
| 20 | + <strong>12 skills</strong> • <strong>6 rules</strong> • <strong>2 templates</strong> • <strong>17 snippets</strong> • <strong>17 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 16 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 17 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 |
|
@@ -280,6 +280,23 @@ carries arms, planets, and a two-level moon through spinning pivots. Asserts bar |
280 | 280 | `.parent =` really teleports, `matrix_world` is stale until `view_layer.update()`, |
281 | 281 | and every orbit lands on its closed form. |
282 | 282 |
|
| 283 | +</td> |
| 284 | +</tr> |
| 285 | +<tr> |
| 286 | +<td width="46%" valign="middle"> |
| 287 | +<a href="examples/grease-pencil-rosette/"><img src="examples/grease-pencil-rosette/preview.webp" alt="Grease pencil rosette: five nested neon rose curves drawn as tapered Grease Pencil v3 strokes, cyan through magenta to red, glowing against a dark studio wall with a soft blue halo" /></a> |
| 288 | +</td> |
| 289 | +<td valign="middle"> |
| 290 | + |
| 291 | +### [grease-pencil-rosette](examples/grease-pencil-rosette/) |
| 292 | + |
| 293 | +Five nested rose curves drawn with the Grease Pencil v3 attribute API — layer → |
| 294 | +`frames.new().drawing` → `add_strokes` → per-point position, radius, opacity, and |
| 295 | +vertex color. Asserts the GPv3 address break: on 4.5 GPv3 is `grease_pencils_v3` |
| 296 | +while `grease_pencils` is still legacy; on 5.x legacy is gone and GPv3 owns the |
| 297 | +name. Point writes lazily materialize attribute layers, and every position |
| 298 | +round-trips through the raw `POINT` buffer. |
| 299 | + |
283 | 300 | </td> |
284 | 301 | </tr> |
285 | 302 | </table> |
|
0 commit comments