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:
12
SlaveMatrix/Assets/Parts/耳/x2y1.svg
Normal file
12
SlaveMatrix/Assets/Parts/耳/x2y1.svg
Normal file
@@ -0,0 +1,12 @@
|
||||
<?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.06774030570145918 0.06433827789616577 C 0.06757766649347483 0.06440440018975477 0.06534147381042824 0.06505514944854004 0.06578863520564691 0.06513174541923371 C 0.06534147381042824 0.06505514944854004 0.06208984677160071 0.0632764079835591 0.06237436895883503 0.06341912624784177" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.06237436895883503 0.06341912624784177 C 0.062068475586024865 0.06334734151405362 0.05793900743479604 0.06228953296870346 0.058703648485112996 0.06255770944238398 C 0.05793900743479604 0.06228953296870346 0.0527399286775248 0.06000461682378314 0.05319867635503158 0.060201008563675516" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.05319867635503158 0.060201008563675516 C 0.05237758034575562 0.05995538358508354 0.043464721391614385 0.05675161290345603 0.04334552424372003 0.057253508820571786 C 0.043464721391614385 0.05675161290345603 0.05556933528693416 0.05392198661976269 0.05462904212976384 0.054178257558286466" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.05462904212976384 0.054178257558286466 C 0.054946592509970124 0.054129813954256 0.05900537261590822 0.05351731860077764 0.05843964669223927 0.05359693430992084 C 0.05900537261590822 0.05351731860077764 0.06166592875725393 0.05319169694345529 0.06141775321379126 0.053222869048568024" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.06141775321379126 0.053222869048568024 C 0.061580345723351144 0.05325128989875169 0.06368362747061435 0.05371762419319569 0.06336886332850986 0.053563919250772 C 0.06368362747061435 0.05371762419319569 0.06534709455158974 0.05519261244989231 0.06519492291904513 0.05506732835765229" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.06519492291904513 0.05506732835765229 C 0.0653307918856834 0.055220241134902606 0.06707449356009745 0.05723866099325577 0.06682535051870438 0.056902281684656095 C 0.06707449356009745 0.05723866099325577 0.06829791349051695 0.05928734659219777 0.06818463941576214 0.05910388006084841" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.06818463941576214 0.05910388006084841 C 0.06824878166505483 0.05935758265852016 0.06891731859774919 0.06258451105251926 0.06895434640727444 0.06214831123290948 C 0.06891731859774919 0.06258451105251926 0.06763913564264125 0.0645207751181038 0.06774030570145918 0.06433827789616577" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.3169010486494357,0.11722566991601686) rotate(0) scale(1,1) translate(-0.005607832739230754,-0.005607832739230756)"><path d="M 0.0030101052653753744 0.003205050911578066 C 0.0033371752817156794 0.0032429419920769987 0.007461318475586017 0.003893458368606564 0.006934945461459033 0.003659743877565256 C 0.007461318475586017 0.003893458368606564 0.009525884432685872 0.006205448214616133 0.009326581434899192 0.006009624804073758" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M -0.008931931384103989 0.005409745267866594 C -0.008366094878270662 0.005281887220582487 -0.0011467235933141186 0.003691724170766596 -0.0021418933141040654 0.0038754487004573064 C -0.0011467235933141186 0.003691724170766596 0.0034394384803319916 0.0031491844291714655 0.0030101052653753717 0.0032050509115780688" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g></svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
Reference in New Issue
Block a user