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:
17
SlaveMatrix/Assets/Parts/耳/x5y0.svg
Normal file
17
SlaveMatrix/Assets/Parts/耳/x5y0.svg
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1">
|
||||
<g transform="translate(0.317739745606258,0.11889466917980429) rotate(0) scale(1,1) translate(-0.061780495912221296,-0.0594468243068542)"><path d="M 0.06709976394581749 0.06502813584869152 C 0.0669302787453225 0.06507394454324199 0.06452488877304169 0.06547787522500641 0.06506594153987752 0.06557784018329714 C 0.06452488877304169 0.06547787522500641 0.060235563177446654 0.06368278269636152 0.06060713074378749 0.06382855634920272" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.06060713074378749 0.06382855634920272 C 0.06006006741282607 0.06374078016360567 0.05294806904777026 0.06250711932557255 0.05404237077225042 0.06277524212203814 C 0.05294806904777026 0.06250711932557255 0.04692827165650684 0.06043073618074718 0.04747551005002558 0.060611082791615714" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.04747551005002558 0.060611082791615714 C 0.04739317401151775 0.06040449342134761 0.04627559415877744 0.05805703251552435 0.04648747758793164 0.05813201034839846 C 0.04627559415877744 0.05805703251552435 0.044803361509528745 0.059842960334520315 0.04493290890017512 0.05971134879712633" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.04493290890017512 0.05971134879712633 C 0.04481579643078254 0.059672778594173345 0.043259262991167606 0.05916124205608005 0.043527559267464114 0.059248506361690496 C 0.043259262991167606 0.05916124205608005 0.04156216977771309 0.058615483027143526 0.041713353584617016 0.05866417712980099" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.041713353584617016 0.05866417712980099 C 0.04176472604298591 0.05845448447203557 0.04242551158908005 0.05575651203941676 0.04232982308504371 0.056147865236615975 C 0.04242551158908005 0.05575651203941676 0.04290593167872048 0.053786278223976684 0.04286161563305303 0.053967938763410474" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.04286161563305303 0.053967938763410474 C 0.0431811226692701 0.053936431866114354 0.047525153038859375 0.05351269394168547 0.046695700067657844 0.05358985599585703 C 0.047525153038859375 0.05351269394168547 0.05332499722245587 0.05299633895647639 0.05281505128747141 0.05304199411335182" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.05281505128747141 0.05304199411335182 C 0.053378754251708675 0.05302623519692462 0.06035981311632676 0.05286814212784369 0.05957948685831863 0.05285288711622536 C 0.06035981311632676 0.05286814212784369 0.06239558967733979 0.053256068180817344 0.06217896638356893 0.053225054252771804" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.06217896638356893 0.053225054252771804 C 0.062336883322867395 0.05327307830063063 0.06436765567265973 0.053992262175494396 0.06407396965515054 0.053801342827077756 C 0.06436765567265973 0.053992262175494396 0.06583896767188996 0.05565898173432932 0.06570319859367924 0.05551608643377151" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.06570319859367924 0.05551608643377151 C 0.06581941943388178 0.05568441768412144 0.06730414031757856 0.05790029632508159 0.06709784867610977 0.05753606143797067 C 0.06730414031757856 0.05790029632508159 0.06826876909257108 0.06008280871586346 0.06817869829130482 0.05988690507910248" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.06817869829130482 0.05988690507910248 C 0.06821144386499947 0.06014653358988882 0.06848173398018327 0.0634308831060043 0.06857164517564054 0.06300244720853854 C 0.06848173398018327 0.0634308831060043 0.06697710717666557 0.06519694323537094 0.06709976394581749 0.06502813584869152" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.3166917425250475,0.11725603306272267) rotate(0) scale(1,1) translate(-0.00820718783944048,-0.005607832739230756)"><path d="M 0.004833943782997573 0.0026611622259418936 C 0.005234243555991894 0.0027620350094284974 0.010211793384921343 0.004191161109281794 0.00963754105892943 0.003871635627781137 C 0.010211793384921343 0.004191161109281794 0.011898924247898127 0.006714120701963831 0.011724971694900535 0.006495468003949778" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M -0.010037641162001527 0.0036166440222266793 C -0.009489893881579893 0.003568570759809752 -0.0022253750515253395 0.0029601413901998216 -0.0034646737969419306 0.0030397648732235537 C -0.0022253750515253395 0.0029601413901998216 0.005525495247992525 0.002629612005335091 0.004833943782997567 0.0026611622259418957" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.3166917425250475,0.11725603306272267) rotate(0) scale(1,1) translate(-0.00820718783944048,-0.005607832739230756)"><path d="M 0.007086219715058958 0.009179682501102984 C 0.007321026673828529 0.00910334903743931 0.010332363195082168 0.008353122096797635 0.00990390322029381 0.0082636809371389 C 0.010332363195082168 0.008353122096797635 0.01242139242853805 0.010418751040330208 0.012227739412519263 0.0102529764170078" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M -0.005790829167698448 0.0036645590241763002 C -0.0053720889288144105 0.0039983922450247495 0.0003071411058064497 0.008130151297434912 -0.0007659463010900001 0.007670557674357689 C 0.0003071411058064497 0.008130151297434912 0.007740566883071363 0.00930544290333176 0.007086219715058951 0.009179682501102985" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g></svg>
|
||||
|
After Width: | Height: | Size: 5.4 KiB |
Reference in New Issue
Block a user