Files
SlaveMatrix-SDL/SlaveMatrix/Assets/Parts//x0y0.svg
REDCODE 58f3bf6884 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
2026-06-13 17:56:01 +02:00

7 lines
3.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1">
<g transform="translate(0.40747036743739123,0.12402418947785779) rotate(0) scale(1,1) translate(-0.04097981764270885,-0.036129477691237415)"><path d="M 0.04097981764270885 0.0350142473372187 C 0.041111929429944995 0.0350142473372187 0.04186590550675504 0.03543382660816061 0.04177248836612569 0.03534089074532571 C 0.04186590550675504 0.03543382660816061 0.042100823330261064 0.03626090884888936 0.042100823330261064 0.036129477691237415 C 0.042100823330261064 0.03626090884888936 0.041679071225496335 0.03701100049998402 0.04177248836612569 0.036918064637149126 C 0.041679071225496335 0.03701100049998402 0.04084770585547271 0.03724470804525614 0.04097981764270885 0.03724470804525614 C 0.04084770585547271 0.03724470804525614 0.04009372977866267 0.03682512877431423 0.04018714691929202 0.036918064637149126 C 0.04009372977866267 0.03682512877431423 0.03985881195515665 0.035998046533585466 0.03985881195515665 0.036129477691237415 C 0.03985881195515665 0.035998046533585466 0.040280564059921364 0.035247954882490815 0.04018714691929202 0.03534089074532571 C 0.040280564059921364 0.035247954882490815 0.041111929429944995 0.0350142473372187 0.04097981764270885 0.0350142473372187 Z" fill="#cccccc" stroke="#000000" stroke-width="0.001"/>
</g><g transform="translate(0.4070740320756828,0.12386086777380428) rotate(0) scale(1,1) translate(-0.035892672400159885,-0.029633496460719853)"><path d="M 0.036842725226606185 0.02898898081787531 C 0.03692399813895372 0.029069835018541667 0.03712837664540394 0.0297893965679757 0.03712837664540394 0.029675051460818502 C 0.03712837664540394 0.0297893965679757 0.03676145231425865 0.030441976304428044 0.036842725226606185 0.030361122103761688 C 0.03676145231425865 0.030441976304428044 0.03603816444233807 0.030645301868814787 0.036153101697233514 0.030645301868814787 C 0.03603816444233807 0.030645301868814787 0.03538220525551333 0.03028026790309533 0.03546347816786087 0.030361122103761688 C 0.03538220525551333 0.03028026790309533 0.0351778267490631 0.029560706353661304 0.0351778267490631 0.029675051460818502 C 0.0351778267490631 0.029560706353661304 0.03554475108020841 0.028908126617208953 0.03546347816786087 0.02898898081787531 C 0.03554475108020841 0.028908126617208953 0.036268038952128955 0.028704801052822214 0.036153101697233514 0.028704801052822214 C 0.036268038952128955 0.028704801052822214 0.03692399813895372 0.029069835018541667 0.036842725226606185 0.02898898081787531 Z" fill="#cccccc" stroke="none" stroke-width="0"/>
</g><g transform="translate(0.4070740320756828,0.12386086777380428) rotate(0) scale(1,1) translate(-0.03609239462778395,-0.029838648841184513)"><path d="M 0.036381878142443196 0.029282931620400535 C 0.03642490532260658 0.029326592888760366 0.03653310657397742 0.029715156125454743 0.03653310657397742 0.029653409767589855 C 0.03653310657397742 0.029715156125454743 0.03633885096227981 0.03006754918313901 0.036381878142443196 0.030023887914779175 C 0.03633885096227981 0.03006754918313901 0.03595593079027908 0.03017734498790785 0.03601678041201681 0.03017734498790785 C 0.03595593079027908 0.03017734498790785 0.03560865550142708 0.02998022664641934 0.03565168268159047 0.030023887914779175 C 0.03560865550142708 0.02998022664641934 0.03550045425005622 0.029591663409724966 0.03550045425005622 0.029653409767589855 C 0.03550045425005622 0.029591663409724966 0.035694709861753854 0.029239270352040703 0.03565168268159047 0.029282931620400535 C 0.035694709861753854 0.029239270352040703 0.03607763003375453 0.029129474547271862 0.03601678041201681 0.029129474547271862 C 0.03607763003375453 0.029129474547271862 0.03642490532260658 0.029326592888760366 0.036381878142443196 0.029282931620400535 Z" fill="#cccccc" stroke="none" stroke-width="0"/>
</g></svg>