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:
10
SlaveMatrix/Assets/Parts/尾/x1y0.svg
Normal file
10
SlaveMatrix/Assets/Parts/尾/x1y0.svg
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1">
|
||||
<g transform="translate(0.3360300081992928,0.5699271245054771) rotate(0) scale(1,1) translate(-0.013728766366485061,-0.006147856895367379)"><path d="M 0.013728766366485047 0.021550127948306047 C 0.013182419518166037 0.02210267640982809 0.005518458994636102 0.02908270046533167 0.0071726041866569225 0.02818070948657056 C 0.005518458994636102 0.02908270046533167 -0.009322426692136308 0.03298574983904619 -0.006120975937764798 0.03237401969343934 C -0.009322426692136308 0.03298574983904619 -0.034519452131955765 0.036345217530872435 -0.0312448048658012 0.03552147123385278 C -0.034519452131955765 0.036345217530872435 -0.04659773798710443 0.04282043392632699 -0.04541674313161957 0.04225897525767513" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M -0.04541674313161957 0.04225897525767513 C -0.044906705866657924 0.040719844961740616 -0.03767616938567448 0.021095417130598357 -0.03929629595207983 0.023789411706460987 C -0.03767616938567448 0.021095417130598357 -0.022946916018726882 0.0077837914927218555 -0.025975224334755444 0.009931040347323571 C -0.022946916018726882 0.0077837914927218555 -8.4833159460832E-05 -0.0037441202922929807 -0.0029565961597370874 -0.0019775745487596035 C -8.4833159460832E-05 -0.0037441202922929807 0.00943947565425101 -0.012041669743936733 0.008485931668559618 -0.011267508575076954" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.018971601064410502 -0.011267508575076954 C 0.0199251450501019 -0.010493347406217175 0.03328589189298355 -0.00021102880522622645 0.03041412889270729 -0.0019775745487596035 C 0.03328589189298355 -0.00021102880522622645 0.05646106538375426 0.012078289201925288 0.0534327570677257 0.009931040347323571 C 0.05646106538375426 0.012078289201925288 0.06837395525145536 0.026483406282323617 0.06675382868505003 0.023789411706460987 C 0.06837395525145536 0.026483406282323617 0.0733843131295512 0.04379810555360964 0.07287427586458957 0.04225897525767513" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.07287427586458957 0.04225897525767513 C 0.07169328100910473 0.041697516589023265 0.055427690332616915 0.03469772493683313 0.05870233759877147 0.03552147123385278 C 0.055427690332616915 0.03469772493683313 0.030377057916363394 0.03176228954783249 0.03357850867073492 0.03237401969343934 C 0.030377057916363394 0.03176228954783249 0.018630783354292368 0.02727871850780945 0.02028492854631319 0.02818070948657056 C 0.018630783354292368 0.02727871850780945 0.013182419518166049 0.020997579486784004 0.01372876636648506 0.021550127948306047" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.3360300081992928,0.5525117590350326) rotate(0) scale(1,1) translate(-0.027518731894252142,-0.022203508697289306)"><path d="M 0.0222758971963267 0.022203508697289508 C 0.022334431084799992 0.021985057251542615 0.023196755303753088 0.01920372234530629 0.022978303858006196 0.019582091348326787 C 0.023196755303753088 0.01920372234530629 0.02527568354830992 0.017444629215296666 0.02489731454528942 0.017663080661043558 C 0.02527568354830992 0.017444629215296666 0.02795563478574593 0.01696067399936406 0.027518731894252142 0.01696067399936406 C 0.02795563478574593 0.01696067399936406 0.030518518246235363 0.017881532106790447 0.030140149243214866 0.017663080661043554 C 0.030518518246235363 0.017881532106790447 0.03227761137624499 0.019960460351347277 0.0320591599304981 0.01958209134832678 C 0.03227761137624499 0.019960460351347277 0.032820100480650885 0.0224219601430364 0.03276156659217759 0.022203508697289508" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.03276156659217759 0.022203508697289508 C 0.03257790466208494 0.02327878050272128 0.030120720539572005 0.03729065522370851 0.030557623431065793 0.03510677036247076 C 0.030120720539572005 0.03729065522370851 0.027265490932850987 0.04951874008794854 0.027518731894252125 0.04841012703214256" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 0.027518731894252125 0.04841012703214256 C 0.027265490932850987 0.04730151397633657 0.024042937465944703 0.032922885501233 0.024479840357438488 0.03510677036247075 C 0.024042937465944703 0.032922885501233 0.02209223526623405 0.02112823689185774 0.0222758971963267 0.022203508697289508" fill="none" stroke="none" stroke-width="0"/>
|
||||
</g></svg>
|
||||
|
After Width: | Height: | Size: 4.3 KiB |
Reference in New Issue
Block a user