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/舌/x0y0.svg
Normal file
18
SlaveMatrix/Assets/Parts/舌/x0y0.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.3373434528286707,0.1307709240821216) rotate(0) scale(1,1) translate(-0.011646590846931882,-0.010300455920682537)"><path d="M 0.014743086671791838 0.010300455920682537 C 0.014729758995084209 0.010358800622022114 0.014557995522723289 0.011117281739436607 0.014583154551300275 0.011000592336757454 C 0.014557995522723289 0.011117281739436607 0.014429346976998639 0.01175907345417195 0.014441178328867996 0.011700728752832373" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.014441178328867996 0.011700728752832373 C 0.014372968685297992 0.011865401399423712 0.013389780315866604 0.013909682802089778 0.013622662606027947 0.013676800511928435 C 0.013389780315866604 0.013909682802089778 0.011317245553749213 0.014495316234768482 0.01164659084693189 0.014495316234768482 C 0.011317245553749213 0.014495316234768482 0.009437636797674485 0.013443918221767093 0.009670519087835828 0.013676800511928437 C 0.009437636797674485 0.013443918221767093 0.008783793721425773 0.011536056106241034 0.008852003364995777 0.011700728752832373" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.008852003364995777 0.011700728752832373 C 0.00884017201312642 0.011642384051492797 0.00868486811398651 0.0108839029340783 0.008710027142563496 0.011000592336757454 C 0.00868486811398651 0.0108839029340783 0.008536767345364304 0.01024211121934296 0.008550095022071933 0.010300455920682537" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.3373434528286707,0.13218281123798412) rotate(0) scale(1,1) translate(-0.011646590846931882,-0.010300455920682537)"><path d="M 0.014433437089305846 0.010300455920682537 C 0.014421442180268978 0.010352966151888156 0.014266855055144148 0.011035599157561197 0.014289498180863437 0.01093057869514996 C 0.014266855055144148 0.011035599157561197 0.014151071363991961 0.011613211700823009 0.014161719580674382 0.01156070146961739" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.014161719580674382 0.01156070146961739 C 0.014100330901461379 0.011708906851549595 0.013215461368973133 0.01354876011394905 0.01342505543011834 0.013339166052803842 C 0.013215461368973133 0.01354876011394905 0.01135018008306748 0.014075830203359885 0.01164659084693189 0.014075830203359885 C 0.01135018008306748 0.014075830203359885 0.009658532202600226 0.013129571991658637 0.009868126263745433 0.013339166052803844 C 0.009658532202600226 0.013129571991658637 0.009070073433976386 0.011412496087685185 0.00913146211318939 0.01156070146961739" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.00913146211318939 0.01156070146961739 C 0.009120813896506968 0.01150819123841177 0.008981040387281045 0.010825558232738727 0.009003683513000333 0.010930578695149963 C 0.008981040387281045 0.010825558232738727 0.00884774969552106 0.010247945689476918 0.008859744604557927 0.010300455920682537" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.3373434528286707,0.13344305678691895) rotate(0) scale(1,1) translate(-0.011646590846931882,-0.010300455920682537)"><path d="M 0.014154752465068449 0.010300455920682537 C 0.014143957046935269 0.010347715128767594 0.014004828634322921 0.010962084833873334 0.014025207447470281 0.01086756641770322 C 0.014004828634322921 0.010962084833873334 0.013900623312285955 0.011481936122808963 0.013910206707300133 0.011434676914723906" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.013910206707300133 0.011434676914723906 C 0.01385495689600843 0.011568061758462889 0.013058574316769008 0.013223929694622402 0.013247208971799696 0.013035295039591714 C 0.013058574316769008 0.013223929694622402 0.01137982115945392 0.013698292775092154 0.01164659084693189 0.013698292775092154 C 0.01137982115945392 0.013698292775092154 0.009857338067033393 0.012846660384561026 0.01004597272206408 0.013035295039591714 C 0.009857338067033393 0.012846660384561026 0.009327725175271938 0.011301292070984922 0.00938297498656364 0.011434676914723906" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.00938297498656364 0.011434676914723906 C 0.00937339159154946 0.011387417706638849 0.009247595433246129 0.010773048001533106 0.009267974246393489 0.01086756641770322 C 0.009247595433246129 0.010773048001533106 0.009127633810662143 0.01025319671259748 0.009138429228795323 0.010300455920682537" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.3373434528286707,0.13457727778096032) rotate(0) scale(1,1) translate(-0.011646590846931882,-0.010300455920682537)"><path d="M 0.013903936303254793 0.010300455920682537 C 0.01389422042693493 0.010342989207959088 0.01376900485558382 0.010895921942554255 0.013787345787416444 0.010810855368001152 C 0.01376900485558382 0.010895921942554255 0.01367522006575055 0.01136378810259632 0.01368384512126331 0.01132125481531977" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.01368384512126331 0.01132125481531977 C 0.013634120291100777 0.011441301174684854 0.012917375969785296 0.012931582317228414 0.013087147159312914 0.012761811127700796 C 0.012917375969785296 0.012931582317228414 0.011406498128201718 0.013358509089651192 0.01164659084693189 0.013358509089651192 C 0.011406498128201718 0.013358509089651192 0.010036263345023243 0.012592039938173179 0.010206034534550861 0.012761811127700797 C 0.010036263345023243 0.012592039938173179 0.009559611742437931 0.011201208455954684 0.009609336572600465 0.01132125481531977" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.009609336572600465 0.01132125481531977 C 0.009600711517087704 0.011278721528043219 0.009487494974614706 0.010725788793448049 0.00950583590644733 0.010810855368001152 C 0.009487494974614706 0.010725788793448049 0.009379529514289118 0.010257922633405987 0.00938924539060898 0.010300455920682537" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.3373434528286707,0.13559807667559753) rotate(0) scale(1,1) translate(-0.011646590846931882,-0.010300455920682537)"><path d="M 0.0136782017576225 0.010300455920682537 C 0.013669457468934625 0.010338735879231432 0.013556763454718625 0.010836375340367082 0.013573270293367986 0.01075981542326929 C 0.013556763454718625 0.010836375340367082 0.013472357143868682 0.011257454884404942 0.013480119693830167 0.011219174925856045" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.013480119693830167 0.011219174925856045 C 0.013435367346683888 0.011327216649284622 0.012790297457499955 0.012668469677573825 0.012943091528074812 0.012515675606998969 C 0.012790297457499955 0.012668469677573825 0.011430507400074735 0.013052703772754325 0.01164659084693189 0.013052703772754325 C 0.011430507400074735 0.013052703772754325 0.010197296095214107 0.012362881536424113 0.010350090165788963 0.012515675606998969 C 0.010197296095214107 0.012362881536424113 0.009768309652887329 0.011111133202427468 0.009813062000033608 0.011219174925856045" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.009813062000033608 0.011219174925856045 C 0.009805299450072122 0.011180894967307148 0.009703404561846426 0.0106832555061715 0.009719911400495787 0.010759815423269292 C 0.009703404561846426 0.0106832555061715 0.009606235647553394 0.01026217596213364 0.009614979936241271 0.010300455920682537" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g></svg>
|
||||
|
After Width: | Height: | Size: 7.3 KiB |
Reference in New Issue
Block a user