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:
15
SlaveMatrix/Assets/Parts/マウス/x3y2.svg
Normal file
15
SlaveMatrix/Assets/Parts/マウス/x3y2.svg
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1">
|
||||
<g transform="translate(0.4860742470985133,0.1990589886899211) rotate(0) scale(1,1) translate(-0.032352957670447643,-0.02627733328730817)"><path d="M 0.02898663615398478 0.027245824666732935 C 0.029052182351403704 0.027058323985889948 0.02993683115228436 0.024660127510156192 0.029773190523011858 0.024995816496617078 C 0.02993683115228436 0.024660127510156192 0.03116530430087443 0.02303643316055043 0.030950323705254783 0.023217556829202284 C 0.03116530430087443 0.02303643316055043 0.032586729997979784 0.022822332472794804 0.032352957670447643 0.022822332472794804 C 0.032586729997979784 0.022822332472794804 0.03397057223126015 0.023398680497854138 0.0337555916356405 0.023217556829202284 C 0.03397057223126015 0.023398680497854138 0.03509636544715593 0.02533150548307797 0.034932724817883426 0.024995816496617078 C 0.03509636544715593 0.02533150548307797 0.03578482538432945 0.02743332534757599 0.03571927918691052 0.027245824666732997" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.03571927918691052 0.027245824666732997 C 0.03565373298949159 0.027429329446270752 0.034769084188610924 0.0297757043638957 0.034932724817883426 0.02944788202118606 C 0.034769084188610924 0.0297757043638957 0.03354061104002085 0.03137867532814607 0.0337555916356405 0.03117969277924864 C 0.03354061104002085 0.03137867532814607 0.0321191853429155 0.03183567260795519 0.032352957670447643 0.03183567260795519 C 0.0321191853429155 0.03183567260795519 0.030735343109635136 0.030980710230351212 0.030950323705254783 0.03117969277924864 C 0.030735343109635136 0.030980710230351212 0.029609549893739356 0.029120059678476418 0.029773190523011858 0.02944788202118606 C 0.029609549893739356 0.029120059678476418 0.028921089956565855 0.027062319887195173 0.02898663615398478 0.027245824666732935" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.4860742470985133,0.1999184195589665) rotate(0) scale(1,1) translate(-0.08663433525792666,-0.08860996306921079)"><path d="M 0.08663433525792667 0.08561470440011014 C 0.08686076931601924 0.08556704089384674 0.08994874439819232 0.08523832873104341 0.08935154395503743 0.08504274232494942 C 0.08994874439819232 0.08523832873104341 0.09417150696084767 0.08820499118559533 0.09380074057578534 0.08796174127323796" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.09380074057578534 0.08796174127323796 C 0.09368668544019101 0.08802140245336765 0.09220396867746466 0.08868364155280728 0.09243207894865334 0.08867767543479431 C 0.09220396867746466 0.08868364155280728 0.09094936218592699 0.08797963962727688 0.09106341732152132 0.0880333346893936" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 0.09106341732152132 0.0880333346893936 C 0.0906943271495551 0.08795122691093733 0.08589615491399423 0.08704804134791838 0.08663433525792667 0.08704804134791838 C 0.08589615491399423 0.08704804134791838 0.08183616302236578 0.08811544246784987 0.082205253194332 0.0880333346893936" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.082205253194332 0.0880333346893936 C 0.08209119805873767 0.08808702975151032 0.08060848129601131 0.08867170931678134 0.08083659156719998 0.08867767543479431 C 0.08060848129601131 0.08867170931678134 0.07935387480447365 0.08790208009310826 0.07946792994006797 0.08796174127323796" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 0.07946792994006797 0.08796174127323796 C 0.0798386963251303 0.08771849136088058 0.08451432700397077 0.08484715591885543 0.08391712656081587 0.08504274232494942 C 0.08451432700397077 0.08484715591885543 0.08686076931601924 0.08566236790637353 0.08663433525792667 0.08561470440011014" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.4860742470985133,0.20256789648909881) rotate(0) scale(1,1) translate(-0.08663433525792666,-0.08675305815140574)"><path d="M 0.08663433525792667 0.08752776921620953 C 0.0864079011998341 0.08746320996080921 0.08331992611766098 0.08641143279759922 0.08391712656081587 0.08675305815140574 C 0.08331992611766098 0.08641143279759922 0.07909716355500565 0.08315119887212512 0.07946792994006797 0.08342826497053132" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.07946792994006797 0.08342826497053132 C 0.0795819850756623 0.08343621979454861 0.08106470183838865 0.08352968897675181 0.08083659156719998 0.08352372285873884 C 0.08106470183838865 0.08352968897675181 0.08231930832992633 0.08349786968068262 0.082205253194332 0.08349985838668694" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 0.082205253194332 0.08349985838668694 C 0.08257434336629822 0.08368740441126131 0.08737251560185912 0.08575041068157936 0.08663433525792667 0.08575041068157936 C 0.08737251560185912 0.08575041068157936 0.09143250749348754 0.08331231236211258 0.09106341732152132 0.08349985838668694" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.09106341732152132 0.08349985838668694 C 0.09117747245711565 0.08350184709269126 0.09266018921984201 0.08351775674072587 0.09243207894865334 0.08352372285873884 C 0.09266018921984201 0.08351775674072587 0.09391479571137967 0.08342031014651403 0.09380074057578534 0.08342826497053132" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 0.09380074057578534 0.08342826497053132 C 0.09342997419072302 0.08370533106893753 0.08875434351188254 0.08709468350521227 0.08935154395503743 0.08675305815140574 C 0.08875434351188254 0.08709468350521227 0.0864079011998341 0.08759232847160985 0.08663433525792667 0.08752776921620953" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g></svg>
|
||||
|
After Width: | Height: | Size: 5.5 KiB |
Reference in New Issue
Block a user