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:
19
SlaveMatrix/Assets/Parts/意思表示/x0y3.svg
Normal file
19
SlaveMatrix/Assets/Parts/意思表示/x0y3.svg
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1">
|
||||
<g transform="translate(0.3373434528286707,0.11344159583471114) rotate(0) scale(1,1) translate(-0.19340908312713176,-0.15474451462231797)"><path d="M 0.11953765593090376 0.11568977540756646 C 0.11955269777845254 0.1152034719034333 0.11987124818365026 0.10909835007870344 0.11971815810148914 0.10985413335796863 C 0.11987124818365026 0.10909835007870344 0.1217822649265816 0.10621284804663982 0.12137473691683723 0.10662037605638419 C 0.1217822649265816 0.10621284804663982 0.1253642774976868 0.10481070715887507 0.12460849421842167 0.10496379724103612 C 0.1253642774976868 0.10481070715887507 0.13093043977215205 0.1047682532229029 0.13044413626801893 0.1047832950704516" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.13044413626801893 0.1047832950704516 C 0.1312345628185804 0.1047832950704516 0.14151010797587965 0.1047832950704516 0.13992925487475666 0.1047832950704516 C 0.14151010797587965 0.1047832950704516 0.1502048000320565 0.1047832950704516 0.14941437348149497 0.1047832950704516" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.14941437348149497 0.1047832950704516 C 0.14990067698562812 0.10479833691800033 0.15600579881035775 0.10511688732319749 0.15525001553109258 0.10496379724103641 C 0.15600579881035775 0.10511688732319749 0.15889130084242137 0.10702790406612883 0.158483772832677 0.10662037605638448 C 0.15889130084242137 0.10702790406612883 0.16029344173018578 0.11060991663723375 0.1601403516480248 0.10985413335796863 C 0.16029344173018578 0.11060991663723375 0.16033589566615772 0.11617607891169898 0.16032085381860903 0.11568977540756588" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.16032085381860903 0.11568977540756588 C 0.16032085381860903 0.11648020195812739 0.16032085381860903 0.126755747115427 0.16032085381860903 0.12517489401430398 C 0.16032085381860903 0.126755747115427 0.16032085381860903 0.13545043917160351 0.16032085381860903 0.13466001262104202" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.16032085381860903 0.13466001262104202 C 0.16029077012351156 0.13563261962930817 0.160478422946986 0.1425508878257691 0.1601403516480242 0.140495654670639 C 0.160478422946986 0.1425508878257691 0.16153422559289138 0.14780646757131144 0.16234928161237985 0.14699141155182274 C 0.16153422559289138 0.14780646757131144 0.15309419750927927 0.14514850435529353 0.1552500155310934 0.14538599078757125 C 0.15309419750927927 0.14514850435529353 0.14844176647322857 0.14559657665325385 0.14941437348149497 0.14556649295815632" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.14941437348149497 0.14556649295815632 C 0.14862394693093345 0.14556649295815632 0.13834840177363367 0.14556649295815632 0.13992925487475666 0.14556649295815632 C 0.13834840177363367 0.14556649295815632 0.12965370971745746 0.14556649295815632 0.13044413626801893 0.14556649295815632" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.13044413626801893 0.14556649295815632 C 0.1299578327638858 0.14555145111060758 0.12385271093915655 0.14523290070541045 0.12460849421842167 0.1453859907875715 C 0.12385271093915655 0.14523290070541045 0.12096720890709317 0.14332188396247944 0.12137473691683752 0.14372941197222375 C 0.12096720890709317 0.14332188396247944 0.11956506801932829 0.13973987139137467 0.11971815810148943 0.14049565467063982 C 0.11956506801932829 0.13973987139137467 0.11952261408335496 0.13417370911690887 0.11953765593090376 0.13466001262104202" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.11953765593090376 0.13466001262104202 C 0.11953765593090376 0.13386958607048052 0.11953765593090376 0.12359404091318102 0.11953765593090376 0.12517489401430398 C 0.11953765593090376 0.12359404091318102 0.11953765593090376 0.11489934885700501 0.11953765593090376 0.11568977540756646" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g id="愛">
|
||||
<g transform="translate(0.28386362457629544,0.08387197522669715) rotate(0) scale(1,1) translate(-0.095,-0.0809416624195675)"><path d="M 0.09499999999999997 0.0707425505458793 C 0.0955022187571709 0.07045311819683668 0.10207145004013024 0.06711989726671384 0.10102662508605098 0.0672693623573678 C 0.10207145004013024 0.06711989726671384 0.10832829959485675 0.06965830358224052 0.10753789944895102 0.06894896945803186 C 0.10832829959485675 0.06965830358224052 0.11050842706193875 0.07702114078126034 0.11051142683691978 0.07578137184787181 C 0.11050842706193875 0.07702114078126034 0.10668520462677039 0.08502386759135401 0.10750190214917878 0.08382619665869406 C 0.10668520462677039 0.08502386759135401 0.09966923138892095 0.09114902356895399 0.10071105656801918 0.09015342303979113 C 0.09966923138892095 0.09114902356895399 0.09452407861933171 0.09624173467271989 0.09499999999999997 0.09577340300864845" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.09499999999999997 0.09577340300864845 C 0.0945240786193317 0.09530507134457701 0.08824711825288244 0.08915782251062826 0.08928894343198066 0.09015342303979113 C 0.08824711825288244 0.08915782251062826 0.081681400328413 0.08262852572603412 0.08249809785082138 0.08382619665869406 C 0.081681400328413 0.08262852572603412 0.07948557338809913 0.0745416029144833 0.07948857316308017 0.07578137184787181 C 0.07948557338809913 0.0745416029144833 0.08325250069695465 0.0682396353338232 0.08246210055104893 0.06894896945803186 C 0.08325250069695465 0.0682396353338232 0.09001819986802823 0.06741882744802176 0.08897337491394897 0.0672693623573678 C 0.09001819986802823 0.06741882744802176 0.0955022187571709 0.07103198289492192 0.09499999999999997 0.0707425505458793" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.28386362457629544,0.08387197522669715) rotate(0) scale(1,1) translate(-0.095,-0.08112494156492593)"><path d="M 0.09499999999999997 0.07246886306587699 C 0.09541181938088013 0.07223152853966204 0.10079858903290678 0.06949828737696132 0.0999418325705618 0.06962084875129756 C 0.10079858903290678 0.06949828737696132 0.10592920566778254 0.07157978055569318 0.10528107754813984 0.07099812657384208 C 0.10592920566778254 0.07157978055569318 0.10771691019078977 0.07761730705888943 0.10771937000627421 0.07660069653351084 C 0.10771691019078977 0.07761730705888943 0.10458186779395173 0.08417954304316624 0.1052515597623266 0.08319745287838509 C 0.10458186779395173 0.08417954304316624 0.09882876973891518 0.08920217094479824 0.09968306638577573 0.08838577851088468 C 0.09882876973891518 0.08920217094479824 0.09460974446785199 0.09337819404988627 0.09499999999999997 0.09299416208534769" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 0.09499999999999997 0.09299416208534769 C 0.09460974446785199 0.09261013012080911 0.08946263696736359 0.08756938607697112 0.09031693361422413 0.08838577851088468 C 0.08946263696736359 0.08756938607697112 0.08407874826929866 0.08221536271360394 0.08474844023767353 0.08319745287838509 C 0.08407874826929866 0.08221536271360394 0.08227817017824128 0.07558408600813225 0.08228062999372573 0.07660069653351084 C 0.08227817017824128 0.07558408600813225 0.08536705057150282 0.07041647259199098 0.08471892245186012 0.07099812657384208 C 0.08536705057150282 0.07041647259199098 0.09091492389178313 0.06974341012563381 0.09005816742943815 0.06962084875129756 C 0.09091492389178313 0.06974341012563381 0.09541181938088013 0.07270619759209195 0.09499999999999997 0.07246886306587699" fill="none" stroke="none" stroke-width="0"/>
|
||||
</g><g transform="translate(0.2750330232878774,0.07585780630417542) rotate(0) scale(1,1) translate(-0.0898704396271021,-0.08987043962710213)"><path d="M 0.09204118540500202 0.08769969384920222 C 0.09229701024829953 0.08795551869249973 0.09294033774667229 0.09023223059008545 0.09294033774667229 0.08987043962710213 C 0.09294033774667229 0.09023223059008545 0.0917853605617045 0.09229701024829956 0.09204118540500202 0.09204118540500204 C 0.0917853605617045 0.09229701024829956 0.08950864866411878 0.09294033774667232 0.0898704396271021 0.09294033774667232 C 0.08950864866411878 0.09294033774667232 0.08744386900590467 0.09178536056170453 0.08769969384920219 0.09204118540500204 C 0.08744386900590467 0.09178536056170453 0.08680054150753191 0.08950864866411881 0.08680054150753191 0.08987043962710213 C 0.08680054150753191 0.08950864866411881 0.0879555186924997 0.08744386900590471 0.08769969384920219 0.08769969384920223 C 0.0879555186924997 0.08744386900590471 0.09023223059008542 0.08680054150753194 0.0898704396271021 0.08680054150753194 C 0.09023223059008542 0.08680054150753194 0.09229701024829953 0.08795551869249973 0.09204118540500202 0.08769969384920222 Z" fill="#cccccc" stroke="none" stroke-width="0"/>
|
||||
</g><g transform="translate(0.27737358241885823,0.07814082185864228) rotate(0) scale(1,1) translate(-0.0898704396271021,-0.08987043962710213)"><path d="M 0.09093410505827307 0.08880677419593117 C 0.09105945923148885 0.08893212836914695 0.09137468970569149 0.09004771719896396 0.09137468970569149 0.08987043962710213 C 0.09137468970569149 0.09004771719896396 0.09080875088505728 0.09105945923148888 0.09093410505827307 0.0909341050582731 C 0.09080875088505728 0.09105945923148888 0.08969316205524028 0.09137468970569151 0.0898704396271021 0.09137468970569151 C 0.08969316205524028 0.09137468970569151 0.08868142002271535 0.09080875088505731 0.08880677419593114 0.0909341050582731 C 0.08868142002271535 0.09080875088505731 0.08836618954851272 0.0896931620552403 0.08836618954851272 0.08987043962710213 C 0.08836618954851272 0.0896931620552403 0.08893212836914692 0.0886814200227154 0.08880677419593114 0.08880677419593118 C 0.08893212836914692 0.0886814200227154 0.09004771719896393 0.08836618954851275 0.0898704396271021 0.08836618954851275 C 0.09004771719896393 0.08836618954851275 0.09105945923148885 0.08893212836914695 0.09093410505827307 0.08880677419593117 Z" fill="#cccccc" stroke="none" stroke-width="0"/>
|
||||
</g></g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9.8 KiB |
Reference in New Issue
Block a user