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:
23
SlaveMatrix/Assets/Parts/多足/x0y1.svg
Normal file
23
SlaveMatrix/Assets/Parts/多足/x0y1.svg
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1">
|
||||
<g transform="translate(0.33734345282867056,0.2712976456560574) rotate(0) scale(1,1) translate(-0.17195000000000002,-0.17195000000000002)"><path d="M 0.14203809537385606 0.1361012747607897 C 0.14272830472878056 0.13711753089033682 0.15194970835711324 0.15041878150493207 0.15032060763294994 0.148296348315355 C 0.15194970835711324 0.15041878150493207 0.16286186276017037 0.16344772394168375 0.16158730406381583 0.16157047303571484 C 0.16286186276017037 0.16344772394168375 0.1664788699838865 0.17188424402849323 0.16561531198920448 0.17082335918698185 C 0.1664788699838865 0.17188424402849323 0.17300578133513264 0.17430109113385134 0.17195000000000005 0.17430109113385134 C 0.17300578133513264 0.17430109113385134 0.17914824600547768 0.16976247434547048 0.17828468801079567 0.17082335918698185 C 0.17914824600547768 0.16976247434547048 0.18358725463253892 0.15969322212974593 0.18231269593618438 0.16157047303571484 C 0.18358725463253892 0.15969322212974593 0.19520849309121352 0.1461739151257779 0.1935793923670502 0.148296348315355 C 0.19520849309121352 0.1461739151257779 0.2025521139810685 0.1350850186312426 0.20186190462614403 0.1361012747607897" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 0.20186190462614403 0.1361012747607897 C 0.2028327787424769 0.13761586124027755 0.21480753342997988 0.15742431532553672 0.21351239402213865 0.15427631251464402 C 0.21480753342997988 0.15742431532553672 0.21772784281174729 0.1755107248229069 0.21740357752023892 0.17387730849150204" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.21740357752023892 0.17387730849150204 C 0.21675760384634893 0.1756661343541968 0.20781546765554765 0.19848753872060232 0.20965189343355894 0.1953432188438392 C 0.20781546765554765 0.19848753872060232 0.194176016079982 0.21296464102672774 0.1953664681841033 0.2116091470126594" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.1953664681841033 0.2116091470126594 C 0.19481498147303844 0.21174110799731746 0.1877176680708605 0.21336862680810026 0.18874862765132477 0.21319267882855616 C 0.1877176680708605 0.21336862680810026 0.18251548034913243 0.21376450976207448 0.18299495321853185 0.21372052276718845" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.18299495321853185 0.21372052276718845 C 0.18207454045032087 0.21341758753597895 0.17010917446357807 0.21008529999267442 0.17195000000000005 0.21008529999267442 C 0.17010917446357807 0.21008529999267442 0.15998463401325724 0.21402345799839795 0.16090504678146822 0.21372052276718845" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.16090504678146822 0.21372052276718845 C 0.1604255739120688 0.21367653577230242 0.15412041276821098 0.21301673084901207 0.15515137234867526 0.21319267882855616 C 0.15412041276821098 0.21301673084901207 0.14798204510483193 0.21147718602800136 0.1485335318158968 0.21160914701265943" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.1485335318158968 0.21160914701265943 C 0.1473430797117755 0.21025365299859108 0.13241168078842985 0.19219889896707612 0.13424810656644115 0.19534321884383923 C 0.13241168078842985 0.19219889896707612 0.12585044880587112 0.17208848262880733 0.12649642247976112 0.1738773084915021" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.12649642247976112 0.1738773084915021 C 0.12682068777126948 0.17224389216009725 0.13168274538570265 0.15112830970375135 0.13038760597786142 0.15427631251464405 C 0.13168274538570265 0.15112830970375135 0.14300896949018888 0.13458668828130188 0.142038095373856 0.13610127476078973" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.3373434528286706,0.2829237958214389) rotate(0) scale(1,1) translate(-0.09021904384362762,-0.0902190438436276)"><path d="M 0.09021904384362761 0.1079445517357136 C 0.08964224958000414 0.10771434039628441 0.08242859928695354 0.10453720819799038 0.08329751268014586 0.10518201566256327 C 0.08242859928695354 0.10453720819799038 0.07914900459418531 0.09949589518942271 0.07979208312531978 0.10020686216083888 C 0.07914900459418531 0.09949589518942271 0.07473727423530245 0.09615988125922237 0.0755805703065321 0.09665041200556929 C 0.07473727423530245 0.09615988125922237 0.06918019360089996 0.09412633330460138 0.06967253027056397 0.09432049320467584" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.06967253027056397 0.09432049320467584 C 0.06967893706883665 0.09376834604835582 0.06954986803779334 0.08671173653148631 0.06974941184983614 0.08769472732883565 C 0.06954986803779334 0.08671173653148631 0.0666541442627433 0.0817652363777557 0.06727800452605039 0.08252460363648369 C 0.0666541442627433 0.0817652363777557 0.06184517903715957 0.07825379660640133 0.06226308869015117 0.07858232022409997" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.06226308869015117 0.07858232022409997 C 0.06250418007312519 0.07824572244538967 0.06549194231305723 0.07382222769986192 0.0651561852858394 0.07454314687957644 C 0.06549194231305723 0.07382222769986192 0.06634179003708075 0.06909849956464177 0.06629217301676507 0.06993129006752569 C 0.06634179003708075 0.06909849956464177 0.06570654090569938 0.0641011917430898 0.06575158952962751 0.06454966084496948" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.06575158952962751 0.06454966084496948 C 0.06609361547256919 0.06437864104419527 0.0704211888593613 0.06206918889110034 0.06985590084492768 0.06249742323567902 C 0.0704211888593613 0.06206918889110034 0.07275830777432286 0.0591536341662208 0.07253504570283092 0.05941084871002528" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.07253504570283092 0.05941084871002528 C 0.07314515421988196 0.06014439187701992 0.08080363100853859 0.06971794084824012 0.07985634790744336 0.06821336671396099 C 0.08080363100853859 0.06971794084824012 0.08476600091065567 0.07852662316288625 0.08390244291597365 0.07746573832137488 C 0.08476600091065567 0.07852662316288625 0.09127181066490327 0.08094398481209748 0.09021904384362761 0.08094398481209748 C 0.09127181066490327 0.08094398481209748 0.09739920276596359 0.0764048534798635 0.09653564477128157 0.07746573832137488 C 0.09739920276596359 0.0764048534798635 0.10152902288090712 0.06670879257968185 0.1005817397798119 0.06821336671396099 C 0.10152902288090712 0.06670879257968185 0.10851315050147534 0.05867730554303063 0.1079030419844243 0.05941084871002528" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.1079030419844243 0.05941084871002528 C 0.10812630405591624 0.059668063253829756 0.11114747485676116 0.0629256575802577 0.11058218684232754 0.06249742323567902 C 0.11114747485676116 0.0629256575802577 0.11502852410056941 0.06472068064574368 0.11468649815762773 0.06454966084496948" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.11468649815762773 0.06454966084496948 C 0.11464144953369959 0.06499812994684917 0.11419553169080582 0.07076408057040962 0.11414591467049015 0.0699312900675257 C 0.11419553169080582 0.07076408057040962 0.11561765942863365 0.07526406605929098 0.11528190240141582 0.07454314687957646 C 0.11561765942863365 0.07526406605929098 0.11841609038007808 0.07891891800281027 0.11817499899710406 0.07858232022409997" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.11817499899710406 0.07858232022409997 C 0.11775708934411246 0.07891084384179861 0.11253622289789773 0.08328397089521164 0.11316008316120482 0.08252460363648367 C 0.11253622289789773 0.08328397089521164 0.11048913202537625 0.08867771812618498 0.11068867583741905 0.08769472732883564 C 0.11048913202537625 0.08867771812618498 0.11077196421496394 0.09487264036099585 0.11076555741669125 0.09432049320467584" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.11076555741669125 0.09432049320467584 C 0.11027322074702724 0.0945146531047503 0.10401422130949348 0.09714094275191618 0.10485751738072313 0.09665041200556926 C 0.10401422130949348 0.09714094275191618 0.10000292603080098 0.10091782913225501 0.10064600456193545 0.10020686216083885 C 0.10000292603080098 0.10091782913225501 0.09627166161391705 0.10582682312713614 0.09714057500710938 0.10518201566256324 C 0.09627166161391705 0.10582682312713614 0.08964224958000414 0.1081747630751428 0.09021904384362761 0.1079445517357136" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.33734345282867056,0.2829237958214389) rotate(0) scale(1,1) translate(-0.09021904384362762,-0.0902190438436276)"><path d="M 0.09021904384362761 0.1079445517357136 C 0.08964224958000414 0.10771434039628441 0.08240854363804158 0.10397298087579689 0.08329751268014586 0.10518201566256327 C 0.08240854363804158 0.10397298087579689 0.07944362325953705 0.09123066385656685 0.0795514153383763 0.09343613429451694 C 0.07944362325953705 0.09123066385656685 0.08179357503722774 0.07630412067368797 0.0820040077340748 0.07871637040716219 C 0.08179357503722774 0.07630412067368797 0.0766114075797229 0.06330353474996508 0.0770262229762115 0.0644891374928264" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.0770262229762115 0.0644891374928264 C 0.07726206672048083 0.06479948992792095 0.08042936623575687 0.06929475011634002 0.07985634790744336 0.06821336671396099 C 0.08042936623575687 0.06929475011634002 0.08476600091065567 0.07852662316288625 0.08390244291597365 0.07746573832137488 C 0.08476600091065567 0.07852662316288625 0.09127181066490327 0.08094398481209748 0.09021904384362761 0.08094398481209748 C 0.09127181066490327 0.08094398481209748 0.09739920276596359 0.0764048534798635 0.09653564477128157 0.07746573832137488 C 0.09739920276596359 0.0764048534798635 0.10115475810812541 0.06713198331158195 0.1005817397798119 0.06821336671396099 C 0.10115475810812541 0.06713198331158195 0.10364770845531303 0.06417878505773186 0.10341186471104372 0.0644891374928264" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 0.10341186471104372 0.0644891374928264 C 0.10299704931455511 0.06567474023568771 0.09822364725633337 0.08112862014063636 0.09843407995318043 0.07871637040716216 C 0.09822364725633337 0.08112862014063636 0.10077888027003969 0.09564160473246701 0.10088667234887894 0.09343613429451691 C 0.10077888027003969 0.09564160473246701 0.0962516059650051 0.10639105044932963 0.09714057500710938 0.10518201566256324 C 0.0962516059650051 0.10639105044932963 0.08964224958000414 0.1081747630751428 0.09021904384362761 0.1079445517357136" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g></svg>
|
||||
|
After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user