Phase 0.3-0.5: SVG export + YAML sidecars + asset catalog

- Add hair class KeyMap entries (基髪→BaseHair, 前髪→FrontHair, 胸毛→ChestHair)
- Implement cardinal spline → cubic Bezier SVG export for all 175 body parts
- Generate YAML sidecar files (part.yaml) per part with metadata
- Write Catalog.yaml index for runtime asset loading
- Output to SlaveMatrix/Assets/Parts/{EnglishName}/ structure
- Each part directory contains part.yaml + x{x}y{y}.svg morph variants
- 838 SVGs across 324 morph variants, 175 sidecars, 1 catalog
- Extraction tool now serves as the asset build pipeline step
This commit is contained in:
2026-06-13 17:56:01 +02:00
parent fb0ff502f0
commit 58f3bf6884
1070 changed files with 83799 additions and 32 deletions

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1">
<g transform="translate(0.3373403974394918,0.40419038501528964) rotate(0) scale(1,1) translate(-0.015396266779668091,-0.015396266779668094)"><path d="M 0.01651050425684588 0.025369235000595916 C 0.01660335737994403 0.025753438068349264 0.01641765113374773 0.026816671942222883 0.01651050425684588 0.026655845615375443 C 0.01641765113374773 0.026816671942222883 0.015210560533471792 0.027299150922765213 0.015396266779668091 0.027299150922765213 C 0.015210560533471792 0.027299150922765213 0.014189176179392155 0.026495019288528 0.014282029302490304 0.026655845615375443 C 0.014189176179392155 0.026495019288528 0.014374882425588452 0.02498503193284257 0.014282029302490304 0.025369235000595916 C 0.014374882425588452 0.02498503193284257 0.015581973025864379 0.02204540880233527 0.01539626677966808 0.02204540880233527 C 0.015581973025864379 0.02204540880233527 0.01660335737994403 0.025753438068349264 0.01651050425684588 0.025369235000595916 Z" fill="#cccccc" stroke="#000000" stroke-width="0.001"/>
</g></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB