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.016503668444102455 0.021834423816150944 C 0.016595951916138652 0.022143181305687105 0.01641138497206626 0.02327298077654093 0.016503668444102455 0.023113141114275378 C 0.01641138497206626 0.02327298077654093 0.015211699835595697 0.02375249976333759 0.015396266779668091 0.02375249976333759 C 0.015211699835595697 0.02375249976333759 0.014196581643197525 0.022953301452009824 0.014288865115233721 0.023113141114275378 C 0.014196581643197525 0.022953301452009824 0.014381148587269918 0.021525666326614783 0.014288865115233721 0.021834423816150944 C 0.014381148587269918 0.021525666326614783 0.015580833723740474 0.019408051239841462 0.01539626677966808 0.019408051239841462 C 0.015580833723740474 0.019408051239841462 0.016595951916138652 0.022143181305687105 0.016503668444102455 0.021834423816150944 Z" fill="#cccccc" stroke="#000000" stroke-width="0.001"/>
</g></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB