You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: witness Unity vs Godot glTF axis conversion on reimport
The same beacon under export_yup True vs False produces different disk POSITION and different reimported orientation.
Inventory, gallery, catalog, and the engine-export-presets roadmap row ship with the example.
Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This repository ships **14 skills, 8 rules, 2 templates, 21 snippets, and 53 examples** for Blender Python development targeting Blender 5.2 LTS (current stable) with Blender 4.5 LTS fallback support. Blender 5.1 is prior stable.
39
+
This repository ships **15 skills, 9 rules, 2 templates, 24 snippets, and 54 examples** for Blender Python development targeting Blender 5.2 LTS (current stable) with Blender 4.5 LTS fallback support. Blender 5.1 is prior stable.
40
40
41
41
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.
42
42
43
43
| Layer | Role |
44
44
| --- | --- |
45
-
|**Skills**| Guided workflows: scaffolding, operators, panels, properties, mesh and bmesh, headless batch, slotted actions, geometry nodes, procedural materials, depsgraph queries, drivers and handlers, `bl_info` migration, video sequencer, imported-mesh cleanup |
46
-
|**Rules**| Guardrails for the most common AI mistakes: ops-in-loops, bmesh leaks, legacy `bl_info` only, prop assignments, deprecated context-copy override, per-element loops over bulk mesh data, import without scale check, export without evaluated geometry |
|**Rules**| Guardrails for the most common AI mistakes: ops-in-loops, bmesh leaks, legacy `bl_info` only, prop assignments, deprecated context-copy override, per-element loops over bulk mesh data, import without scale check, export without evaluated geometry, mixed glTF/FBX axis RNA|
47
47
|**Templates**| A working Extensions Platform add-on starter and a headless batch script starter |
48
-
|**Snippets**|21 small standalone Python files demonstrating canonical patterns |
48
+
|**Snippets**|24 small standalone Python files demonstrating canonical patterns |
@@ -646,6 +646,22 @@ loop), V-flipped UVs, and per-triangle material bindings — all against the
646
646
depsgraph-evaluated mesh. The exporter/importer RNA signatures are probed
647
647
byte-identical on 4.5.11 and 5.1.2 and guarded against future renames.
648
648
649
+
</td>
650
+
</tr>
651
+
<tr>
652
+
<tdwidth="46%"valign="middle">
653
+
<ahref="examples/export-preset-axis/"><imgsrc="examples/export-preset-axis/preview.webp"alt="Export preset axis: a radio beacon exported under Unity and Godot glTF presets and re-imported side by side on a dark studio floor - Unity standing with a glowing cap, Godot lying on its base - proving the two files have different vertex orientation" /></a>
snippets/<name>.py - 21 standalone Python snippets, 5 to 50 lines each
1030
+
snippets/<name>.py - 24 standalone Python snippets, 5 to 50 lines each
1015
1031
```
1016
1032
1017
1033
## Using rules in Cursor
1018
1034
1019
-
The `.mdc` files in `rules/` apply automatically when Cursor opens a Blender Python project, scoped by the `globs` in each rule's frontmatter. The eight rules are:
1035
+
The `.mdc` files in `rules/` apply automatically when Cursor opens a Blender Python project, scoped by the `globs` in each rule's frontmatter. The nine rules are:
-**Live-session agent bridge.** Research spike, not a committed deliverable. MCP server or socket listener so an agent can execute against a running Blender instance instead of blind `--background` scripts. Built on `templates/extension-addon-template/`. Needs its own design pass.
98
+
-**Post-generation cleanup skills.**Import and unit-scale normalization, transform apply and origin, poly-budget decimate, LOD chain, collision mesh. Phase 1 shipped in v0.54.0 as `ai-mesh-cleanup`, four snippets, two rules. Bake/UV/atlas follow on.
99
+
-**Engine export presets.****Delivered.**Unity (Y-up glTF), Godot (Z-up glTF, meters), Unreal (centimeter glTF bake and FBX `global_scale`). Skill `engine-export-presets`, three snippets, rule `use-correct-axis-rna-per-exporter`, witness `examples/export-preset-axis/`. Draco remains opt-in via `gltf_draco_export.py`.
-**Live-session agent bridge.** Research spike, not a committed deliverable. MCP server or socket listener so an agent can execute against a running Blender instance instead of blind `--background` scripts. Built on `templates/extension-addon-template/`. Needs its own design pass. Unpinned.
0 commit comments