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.3373434528286706,0.2649004817027368) rotate(0) scale(1,1) translate(-0.015396266779668091,-0.015396266779668094)"><path d="M 0.01628765676141032 0.023374641356410354 C 0.016361939259888842 0.02368200381061303 0.0162133742629318 0.024532590909711927 0.01628765676141032 0.024403929848233974 C 0.0162133742629318 0.024532590909711927 0.015247701782711053 0.024918574094145787 0.015396266779668091 0.024918574094145787 C 0.015247701782711053 0.024918574094145787 0.014430594299447343 0.02427526878675602 0.014504876797925862 0.024403929848233974 C 0.014430594299447343 0.02427526878675602 0.014579159296404381 0.023067278902207677 0.014504876797925862 0.023374641356410354 C 0.014579159296404381 0.023067278902207677 0.015544831776625122 0.020715580397801837 0.015396266779668084 0.020715580397801837 C 0.015544831776625122 0.020715580397801837 0.016361939259888842 0.02368200381061303 0.01628765676141032 0.023374641356410354 Z" fill="#cccccc" stroke="#000000" stroke-width="0.001"/>
</g></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB