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:
18
SlaveMatrix/Assets/Parts/パンスト/x0y4.svg
Normal file
18
SlaveMatrix/Assets/Parts/パンスト/x0y4.svg
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1">
|
||||
<g transform="translate(0.3373434528286706,0.23916577780668666) rotate(0) scale(1,1) translate(-0.5000000000000002,-0.49316845036229556)"><path d="M 0.479117627929868 0.47255990333414194 C 0.47989062198075616 0.47240445964614614 0.4901337542130369 0.4704810141646019 0.4883935565405259 0.470694579078192 C 0.4901337542130369 0.4704810141646019 0.5019344072432458 0.46999712437106067 0.5000000000000001 0.46999712437106067 C 0.5019344072432458 0.46999712437106067 0.5133466411319851 0.4709081439917821 0.5116064434594741 0.470694579078192 C 0.5133466411319851 0.4709081439917821 0.5216553661210205 0.47271534702213774 0.5208823720701323 0.47255990333414194" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.5208823720701323 0.47255990333414194 C 0.5212130096279094 0.473132171640891 0.5255658426348587 0.48046645292027407 0.5248500227634574 0.4794271230151306 C 0.5255658426348587 0.48046645292027407 0.5298573928405731 0.48549892379425846 0.5294722105269488 0.485031862195864" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 0.5294722105269488 0.485031862195864 C 0.5296786954219783 0.48570991120973334 0.5325068739603974 0.4945236057491038 0.5319500292673024 0.49316845036229556 C 0.5325068739603974 0.4945236057491038 0.5365047066421544 0.5019708332105021 0.5361543468440889 0.5012937268375631" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 0.5361543468440889 0.5012937268375631 C 0.5362924866102232 0.5018650045972489 0.5380622986821568 0.5095399379628398 0.5378120240377003 0.5081490599537932 C 0.5380622986821568 0.5095399379628398 0.5390769821137815 0.5195013775271189 0.5391576425775663 0.5179842629461227 C 0.5390769821137815 0.5195013775271189 0.536066525189532 0.5276893284713776 0.5368440984722841 0.5263544349257485 C 0.536066525189532 0.5276893284713776 0.5283351463388758 0.5349065358216322 0.5298267631845418 0.5340029854936714 C 0.5283351463388758 0.5349065358216322 0.5171324419215086 0.5372371797839695 0.5189446963242916 0.537197038861278 C 0.5171324419215086 0.5372371797839695 0.506500985657455 0.5340733633734225 0.508079710351146 0.5344846765659691 C 0.506500985657455 0.5340733633734225 0.49932669080407144 0.532075997549448 0.5000000000000002 0.5322612805507189" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 0.5000000000000002 0.5322612805507189 C 0.49932669080407144 0.5324465635519897 0.49034156495516407 0.5348959897585156 0.4919202896488551 0.534484676565969 C 0.49034156495516407 0.5348959897585156 0.4792430492729247 0.5371568979385866 0.4810553036757078 0.537197038861278 C 0.4792430492729247 0.5371568979385866 0.4686816199697917 0.5330994351657108 0.47017323681545786 0.5340029854936715 C 0.4686816199697917 0.5330994351657108 0.46237832824496183 0.5250195413801195 0.4631559015277138 0.5263544349257486 C 0.46237832824496183 0.5250195413801195 0.4607616969586497 0.5164671483651266 0.4608423574224342 0.5179842629461229 C 0.4607616969586497 0.5164671483651266 0.4624382506067569 0.5067581819447468 0.4621879759623005 0.5081490599537934 C 0.4624382506067569 0.5067581819447468 0.46398379292204556 0.5007224490778772 0.4638456531559113 0.5012937268375631" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 0.4638456531559113 0.5012937268375631 C 0.4641960129539769 0.5006166204646242 0.468606815425793 0.4918132949754873 0.468049970732698 0.49316845036229556 C 0.468606815425793 0.4918132949754873 0.4707342743680809 0.4843538131819947 0.47052778947305146 0.485031862195864" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 0.47052778947305146 0.485031862195864 C 0.47091297178667574 0.4845648005974696 0.4758657971079443 0.4783877931099871 0.4751499772365429 0.4794271230151306 C 0.4758657971079443 0.4783877931099871 0.479448265487645 0.4719876350273929 0.47911762792986795 0.47255990333414194" fill="none" stroke="none" stroke-width="0"/>
|
||||
</g><g transform="translate(0.3373434528286705,0.22542445045952167) rotate(0) scale(1,1) translate(-0.01602013802246163,-0.01602013802246163)"><path d="M -0.00486223409121025 0.009152918494456671 C -0.004089240034947111 0.008997474796305768 0.00615389226008675 0.00707402919198379 0.004413694583947423 0.007287594116645841 C 0.00615389226008675 0.00707402919198379 0.017954545270590896 0.006590139398512061 0.016020138022461675 0.006590139398512061 C 0.017954545270590896 0.006590139398512061 0.0293667792376374 0.007501159041307892 0.027626581561498085 0.007287594116645841 C 0.0293667792376374 0.007501159041307892 0.037675504184019694 0.009308362192607575 0.036902510136133417 0.009152918494456671" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.036902510136133417 0.009152918494456671 C 0.03701134845933165 0.009348625817483153 0.03842624666090867 0.01189282101682741 0.03820857001451221 0.011501406370774448 C 0.03842624666090867 0.01189282101682741 0.039623468216089225 0.014045601570118704 0.03951462989289099 0.013849894247092223" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 0.03951462989289099 0.013849894247092223 C 0.038581280258858326 0.013655623462412716 0.026356559961963205 0.011267100916706092 0.028314434284498983 0.011518644830938143 C 0.026356559961963205 0.011267100916706092 0.013971088653832304 0.01083136727630761 0.016020138022461675 0.01083136727630761 C 0.013971088653832304 0.01083136727630761 0.0017679674519400536 0.011770188745170194 0.003725841860946526 0.011518644830938143 C 0.0017679674519400536 0.011770188745170194 -0.008407704614496204 0.01404416503177173 -0.0074743548856159945 0.013849894247092223" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M -0.0074743548856159945 0.013849894247092223 C -0.007365516519182423 0.013654186924065743 -0.005950617755545989 0.011109991724721486 -0.006168294488413132 0.011501406370774448 C -0.005950617755545989 0.011109991724721486 -0.004753395724776699 0.00895721117143019 -0.004862234091210271 0.009152918494456671" fill="none" stroke="none" stroke-width="0"/>
|
||||
</g><g transform="translate(0.3373434528286705,0.22542445045952167) rotate(0) scale(1,1) translate(-0.027518731894252097,-0.027518731894252097)"><path d="M 0.026926710318461215 0.022331259996413833 C 0.026976045449777122 0.022331151825410452 0.02761740215688391 0.022329961944373266 0.027518731894252097 0.022329961944373266 C 0.02761740215688391 0.022329961944373266 0.02816008860135889 0.022331368167417213 0.028110753470042982 0.022331259996413833" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.028110753470042982 0.022331259996413833 C 0.028110753470042982 0.024820086226726268 0.028110753470042982 0.057069523842458086 0.028110753470042982 0.05219717476016307 C 0.028110753470042982 0.057069523842458086 0.028110753470042982 0.08318297183593659 0.028110753470042982 0.08079944898395401" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.028110753470042982 0.08079944898395401 C 0.028012083207411168 0.08072502239834693 0.02732139136898847 0.08035288947031151 0.027518731894252097 0.08035288947031151 C 0.02732139136898847 0.08035288947031151 0.0268280400558294 0.08087387556956109 0.026926710318461215 0.08079944898395401" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 0.026926710318461215 0.08079944898395401 C 0.026926710318461215 0.07841592613197143 0.026926710318461215 0.04732482567786807 0.026926710318461215 0.052197174760163084 C 0.026926710318461215 0.04732482567786807 0.026926710318461215 0.01984243376610141 0.026926710318461215 0.022331259996413846" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g></svg>
|
||||
|
After Width: | Height: | Size: 7.4 KiB |
Reference in New Issue
Block a user