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.01653784750781956 0.03950847973837586 C 0.016632979235165515 0.04019446511899796 0.016442715780473603 0.04099143660495073 0.01653784750781956 0.040826663619775744 C 0.016442715780473603 0.04099143660495073 0.015206003324976179 0.04148575556047569 0.015396266779668091 0.04148575556047569 C 0.015206003324976179 0.04148575556047569 0.014159554324170655 0.04066189063460076 0.014254686051516611 0.040826663619775744 C 0.014159554324170655 0.04066189063460076 0.014349817778862567 0.038822494357753756 0.014254686051516611 0.03950847973837586 C 0.014349817778862567 0.038822494357753756 0.015586530234359993 0.03259483905231051 0.01539626677966808 0.03259483905231051 C 0.015586530234359993 0.03259483905231051 0.016632979235165515 0.04019446511899796 0.01653784750781956 0.03950847973837586 Z" fill="#cccccc" stroke="#000000" stroke-width="0.001"/>
</g></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB