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:
14
SlaveMatrix/Assets/Parts/角/x4y0.svg
Normal file
14
SlaveMatrix/Assets/Parts/角/x4y0.svg
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1">
|
||||
<g transform="translate(0.3162111684713726,0.08586243713995967) rotate(0) scale(1,1) translate(-0.15056728247896173,-0.14370249149167058)"><path d="M 0.15053274197500355 0.14158035984923412 C 0.15044692534076215 0.1417347129423756 0.14922238469764137 0.1437385169653484 0.14950294236410683 0.143432596966932 C 0.14922238469764137 0.1437385169653484 0.14673321263005537 0.14548496733997207 0.14716604997741817 0.14525139983023067 C 0.14673321263005537 0.14548496733997207 0.14388292807384537 0.14624180147046828 0.14430889419575327 0.14623540708382876 C 0.14388292807384537 0.14624180147046828 0.1418665867077542 0.145252526252078 0.14205445651452336 0.14532813246990497" fill="none" stroke="none" stroke-width="0"/>
|
||||
<path d="M 0.14205445651452336 0.14532813246990497 C 0.1417922220900246 0.1446289916032207 0.13867805238229436 0.13562415268541297 0.13890764342053807 0.13693844206969377 C 0.13867805238229436 0.13562415268541297 0.1396678139440113 0.128360569189792 0.13929936405559862 0.1295566598585354 C 0.1396678139440113 0.128360569189792 0.14418692331594626 0.12163217939113041 0.14332904208149014 0.12258535404477307 C 0.14418692331594626 0.12163217939113041 0.149790422368962 0.11830926254536998 0.1495939388690721 0.11811856401482357 C 0.149790422368962 0.11830926254536998 0.1452907391433235 0.12590792860441125 0.14568684408016888 0.12487373641133012 C 0.1452907391433235 0.12590792860441125 0.14498372990416236 0.1315077011977999 0.14484067962692757 0.1305288703317971 C 0.14498372990416236 0.1315077011977999 0.14787778593599282 0.13754066426315004 0.1474034474069865 0.13661970680336363 C 0.14787778593599282 0.13754066426315004 0.1507935165223383 0.14199374760305666 0.15053274197500355 0.14158035984923412" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.31133817892915705,0.08461072771605907) rotate(0) scale(1,1) translate(-0.022915693293433164,-0.022915693293433168)"><path d="M 0.025864080751283366 0.021646563213234507 C 0.025553108074686356 0.021861975974630445 0.022669092155656025 0.02356884004024624 0.02313468199886235 0.023310759375892498 C 0.022669092155656025 0.02356884004024624 0.019929531838638916 0.0248930995997988 0.020277002632807455 0.024743531185479416 C 0.019929531838638916 0.0248930995997988 0.01893922440240449 0.025059021363404467 0.018965032468839862 0.025105580347725098 C 0.01893922440240449 0.025059021363404467 0.020278278512179972 0.02396941061223589 0.01996730583558296 0.024184823373631828 C 0.020278278512179972 0.02396941061223589 0.0231622944312103 0.02226254654662009 0.022696704588003973 0.022520627210973834 C 0.0231622944312103 0.02226254654662009 0.025901854748227413 0.020938286987067536 0.025554383954058874 0.02108785540138692 C 0.025901854748227413 0.020938286987067536 0.026892162184461835 0.020772365223461875 0.026866354118026462 0.02072580623914124 C 0.026892162184461835 0.020772365223461875 0.025553108074686356 0.021861975974630445 0.025864080751283366 0.021646563213234507 Z" fill="#cccccc" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.30928594788714314,0.08050497637658693) rotate(0) scale(1,1) translate(-0.022915693293433164,-0.022915693293433168)"><path d="M 0.025712597575403645 0.022045121855688344 C 0.025409822741931275 0.02221095899996021 0.022629584781958142 0.02348494138102701 0.02307675427670996 0.023295129191927694 C 0.022629584781958142 0.02348494138102701 0.020016945307696692 0.02442546595273628 0.020346563638381863 0.024322868124880166 C 0.020016945307696692 0.02442546595273628 0.019102353089577983 0.024481586176725877 0.019121334308487916 0.02452630312620106 C 0.019102353089577983 0.024481586176725877 0.020421563844935053 0.023620427586906127 0.020118789011462683 0.023786264731177995 C 0.020421563844935053 0.023620427586906127 0.023201801804908183 0.02234644520583932 0.02275463231015637 0.02253625739493864 C 0.023201801804908183 0.02234644520583932 0.02581444127916963 0.02140592063413005 0.02548482294848446 0.021508518461986162 C 0.02581444127916963 0.02140592063413005 0.02672903349728834 0.021349800410140455 0.02671005227837841 0.021305083460665272 C 0.02672903349728834 0.021349800410140455 0.025409822741931275 0.02221095899996021 0.025712597575403645 0.022045121855688344 Z" fill="#cccccc" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.3079295752924692,0.07669356519831572) rotate(0) scale(1,1) translate(-0.022915693293433164,-0.022915693293433168)"><path d="M 0.025483171192090356 0.02249574006656865 C 0.02519638309514963 0.022604168855890353 0.022593699444810756 0.023380981089310245 0.023010445744475895 0.02326931425486631 C 0.022593699444810756 0.023380981089310245 0.020179635423994174 0.02388523404231202 0.020482215596108688 0.023835742079895843 C 0.020179635423994174 0.02388523404231202 0.019368316995657314 0.023821543173893935 0.01937948367910171 0.02386321780386045 C 0.019368316995657314 0.023821543173893935 0.02063500349171669 0.02322721773097598 0.020348215394775965 0.02333564652029768 C 0.02063500349171669 0.02322721773097598 0.023237687142055572 0.022450405497556083 0.022820940842390433 0.022562072332000017 C 0.023237687142055572 0.022450405497556083 0.025651751162872154 0.02194615254455431 0.02534917099075764 0.021995644506970488 C 0.025651751162872154 0.02194615254455431 0.02646306959120901 0.022009843412972394 0.026451902907764616 0.02196816878300588 C 0.02646306959120901 0.022009843412972394 0.02519638309514963 0.022604168855890353 0.025483171192090356 0.02249574006656865 Z" fill="#cccccc" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.3075550033841561,0.07309056221523433) rotate(0) scale(1,1) translate(-0.022915693293433164,-0.022915693293433168)"><path d="M 0.025030763355430016 0.0230528614238725 C 0.024783234793923966 0.023086375200549094 0.022574817345041475 0.023226035609903647 0.022926102307919492 0.023213768468689066 C 0.022574817345041475 0.023226035609903647 0.020566080403640045 0.02318390169924807 0.020815343800893817 0.023200067118447458 C 0.020566080403640045 0.02318390169924807 0.019933714826752783 0.022984654942008603 0.019934941540874242 0.023019783438296405 C 0.019933714826752783 0.022984654942008603 0.02104815179294236 0.022745011386317238 0.02080062323143631 0.02277852516299383 C 0.02104815179294236 0.022745011386317238 0.02325656924182485 0.022605350976962698 0.022905284278946832 0.02261761811817728 C 0.02325656924182485 0.022605350976962698 0.025265306183226286 0.022647484887618256 0.025016042785972515 0.022631319468418867 C 0.025265306183226286 0.022647484887618256 0.025897671760113556 0.02284673164485774 0.025896445045992096 0.022811603148569937 C 0.025897671760113556 0.02284673164485774 0.024783234793923966 0.023086375200549094 0.025030763355430016 0.0230528614238725 Z" fill="#cccccc" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.3081371885059428,0.069963608694071) rotate(0) scale(1,1) translate(-0.022915693293433164,-0.022915693293433168)"><path d="M 0.02446579384998378 0.023471032999028668 C 0.024273770311494483 0.023443056051180446 0.02259468248496293 0.02307445507969254 0.022859638677555364 0.023140516078032546 C 0.02259468248496293 0.02307445507969254 0.021103638436364876 0.022612853607000483 0.02128631953887454 0.0226783010189486 C 0.021103638436364876 0.022612853607000483 0.0206740715472734 0.022328651515395877 0.020667465447439397 0.02235514713465512 C 0.0206740715472734 0.022328651515395877 0.02155761627537184 0.0223883305356859 0.021365592736882544 0.022360353587837677 C 0.02155761627537184 0.0223883305356859 0.023236704101903406 0.022756931507173797 0.02297174790931097 0.022690870508833793 C 0.023236704101903406 0.022756931507173797 0.024727748150501452 0.023218532979865848 0.024545067047991788 0.02315308556791773 C 0.024727748150501452 0.023218532979865848 0.025157315039592936 0.023502735071470472 0.025163921139426938 0.023476239452211226 C 0.025157315039592936 0.023502735071470472 0.024273770311494483 0.023443056051180446 0.02446579384998378 0.023471032999028668 Z" fill="#cccccc" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.30921680311183497,0.06742911550775363) rotate(0) scale(1,1) translate(-0.022915693293433164,-0.022915693293433168)"><path d="M 0.0240512139159496 0.023644981080009297 C 0.02390302219038857 0.023587235101550624 0.02263006317982254 0.02298329520683658 0.02282947727242552 0.023084901762005637 C 0.02263006317982254 0.02298329520683658 0.021524422415987433 0.022339755028093204 0.021658244804713858 0.02242570241798062 C 0.021524422415987433 0.022339755028093204 0.021233769263225337 0.02203359167409633 0.02122360860770843 0.022053533083356627 C 0.021233769263225337 0.02203359167409633 0.021928364396477752 0.022244151485315722 0.021780172670916722 0.02218640550685705 C 0.021928364396477752 0.022244151485315722 0.023201323407043783 0.022848091380029745 0.023001909314440804 0.02274648482486069 C 0.023201323407043783 0.022848091380029745 0.024306964170878895 0.023491631558773124 0.02417314178215247 0.023405684168885707 C 0.024306964170878895 0.023491631558773124 0.024597617323640995 0.02379779491277 0.0246077779791579 0.0237778535035097 C 0.024597617323640995 0.02379779491277 0.02390302219038857 0.023587235101550624 0.0240512139159496 0.023644981080009297 Z" fill="#cccccc" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.31048281322663873,0.06529021571827853) rotate(0) scale(1,1) translate(-0.022915693293433164,-0.022915693293433168)"><path d="M 0.023693971027313885 0.02365970699481375 C 0.023586703430721605 0.02359192298993722 0.02268170705437768 0.02292515472643 0.022822413177153056 0.02303508639771589 C 0.02268170705437768 0.02292515472643 0.021913776643463778 0.022252844083792724 0.022005497554009372 0.02234052693938304 C 0.021913776643463778 0.022252844083792724 0.021732755417734517 0.021968821518354546 0.021721762250605927 0.021982892130632082 C 0.021732755417734517 0.021968821518354546 0.022244683156144713 0.022239463596929125 0.022137415559552433 0.022171679592052594 C 0.022244683156144713 0.022239463596929125 0.02314967953248865 0.02290623186043634 0.023008973409713272 0.022796300189150447 C 0.02314967953248865 0.02290623186043634 0.023917609943402557 0.023578542503073615 0.023825889032856963 0.023490859647483295 C 0.023917609943402557 0.023578542503073615 0.024098631169131815 0.023862565068511806 0.024109624336260405 0.023848494456234267 C 0.024098631169131815 0.023862565068511806 0.023586703430721605 0.02359192298993722 0.023693971027313885 0.02365970699481375 Z" fill="#cccccc" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.3121230334834316,0.06342437429447155) rotate(0) scale(1,1) translate(-0.022915693293433164,-0.022915693293433168)"><path d="M 0.02345843708430668 0.023555914723836453 C 0.02338079995232588 0.023494623914800908 0.022733521924786965 0.02290396242155862 0.022833648316521925 0.023000653354119004 C 0.022733521924786965 0.02290396242155862 0.022192957414324917 0.022320172713961983 0.022256920383487176 0.022395623533111836 C 0.022192957414324917 0.022320172713961983 0.02207576177983085 0.022085230885147283 0.02206609268657481 0.02209524352432078 C 0.02207576177983085 0.022085230885147283 0.022450586634540443 0.022336762672065427 0.022372949502559643 0.022275471863029882 C 0.022450586634540443 0.022336762672065427 0.023097864662079356 0.02292742416530772 0.022997738270344396 0.022830733232747334 C 0.023097864662079356 0.02292742416530772 0.02363842917254141 0.023511213872904353 0.02357446620337915 0.0234357630537545 C 0.02363842917254141 0.023511213872904353 0.023755624807035483 0.02374615570171906 0.02376529390029152 0.023736143062545564 C 0.023755624807035483 0.02374615570171906 0.02338079995232588 0.023494623914800908 0.02345843708430668 0.023555914723836453 Z" fill="#cccccc" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.3101653920258878,0.07379472319248265) rotate(0) scale(1,1) translate(-0.008762238655048054,-0.008762238655048054)"><path d="M 0.009452236458151013 0.009841250327346125 C 0.009438375277132788 0.009745008109498509 0.009265842683320676 0.00856028369373059 0.009285902285932315 0.008686343713174718 C 0.009265842683320676 0.00856028369373059 0.009205322805217934 0.008298712292420074 0.009211521226811348 0.008328530094016585" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g></svg>
|
||||
|
After Width: | Height: | Size: 12 KiB |
Reference in New Issue
Block a user