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:
23
SlaveMatrix/Assets/Parts/背中/x0y0.svg
Normal file
23
SlaveMatrix/Assets/Parts/背中/x0y0.svg
Normal file
@@ -0,0 +1,23 @@
|
||||
<?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.16513021119802657) rotate(0) scale(1,1) translate(-0.02365804436862975,-0.02365804436862975)"><path d="M 0.02365804436862973 0.10157637864518798 C 0.023293023778414253 0.10038725193971317 0.018615089200451254 0.08503506345708083 0.01927779728604401 0.08730685817949023 C 0.018615089200451254 0.08503506345708083 0.015407859846139368 0.07323217395934048 0.01570554734151665 0.07431484197627508" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.01570554734151665 0.07431484197627508 C 0.014937748012444185 0.07552441552287645 0.005647004262652764 0.08776104788690464 0.006491955392647094 0.08882972453549157 C 0.005647004262652764 0.08776104788690464 0.0054889819806628205 0.05921247199804363 0.005566133781584688 0.061490722193231935" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.005566133781584688 0.061490722193231935 C 0.004463038117057138 0.0625572531419305 -0.00826650465542364 0.07291456280593367 -0.007671014192745903 0.07428909357761479 C -0.00826650465542364 0.07291456280593367 -0.0010721465686983544 0.04255529121267883 -0.0015797517705481658 0.044996352933058516" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M -0.0015797517705481658 0.044996352933058516 C -0.003025816021895801 0.04586322050044466 -0.019277532556769946 0.05406411204351797 -0.018932522786719783 0.055398763741692295 C -0.019277532556769946 0.05406411204351797 -0.004618814529852661 0.026779013289406125 -0.005719869011150132 0.0289805325549666" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M -0.005719869011150132 0.0289805325549666 C -0.006992314058714908 0.029215020530789063 -0.01854105013361246 0.02901084675646945 -0.020989209581927452 0.03179438826483617 C -0.01854105013361246 0.02901084675646945 0.02737864886450953 -0.007439995029623196 0.02365804436862976 -0.004421965545434014" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.02365804436862976 -0.004421965545434014 C 0.02737864886450953 -0.0014039360612448349 0.07075345776750194 0.034577929773202856 0.06830529831918696 0.03179438826483614 C 0.07075345776750194 0.034577929773202856 0.05176351270084487 0.028746044579144134 0.05303595774840965 0.028980532554966597" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.05303595774840965 0.028980532554966597 C 0.05413701222970711 0.031182051820527072 0.06590360175392908 0.056733415439866625 0.06624861152397923 0.055398763741692295 C 0.06590360175392908 0.056733415439866625 0.04744977625646014 0.04412948536567237 0.04889584050780776 0.044996352933058516" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.04889584050780776 0.044996352933058516 C 0.04940344570965756 0.047437414653438204 0.05439161246732762 0.07566362434929588 0.05498710293000537 0.07428909357761476 C 0.05439161246732762 0.07566362434929588 0.040646859291147246 0.06042419124453337 0.041749954955674795 0.061490722193231935" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.041749954955674795 0.061490722193231935 C 0.04167280315475293 0.06376897238842023 0.03997918221461808 0.08989840118407849 0.040824133344612414 0.08882972453549157 C 0.03997918221461808 0.08989840118407849 0.030842742066670346 0.07310526842967369 0.03161054139574281 0.07431484197627507" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.03161054139574281 0.07431484197627507 C 0.031312853900365534 0.07539750999320967 0.027375583365622708 0.08957865290189963 0.028038291451215464 0.08730685817949023 C 0.027375583365622708 0.08957865290189963 0.023293023778414267 0.1027655053506628 0.023658044368629744 0.10157637864518798" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g><g transform="translate(0.3373434528286707,0.1506989843117496) rotate(0) scale(1,1) translate(-0.02365804436862975,-0.02365804436862975)"><path d="M 0.023658044368629744 0.015884630304575754 C 0.027072300883652072 0.01769998157452153 0.06679702361562005 0.039562645854671 0.06462912254889767 0.037668845543925064 C 0.06679702361562005 0.039562645854671 0.04842650172099838 0.038688683074327115 0.049672857169298326 0.03861023403352696" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.049672857169298326 0.03861023403352696 C 0.05129088651992113 0.04024246502158611 0.0690183741570495 0.059273425186947525 0.06908920937677197 0.0581970058902368 C 0.0690183741570495 0.059273425186947525 0.0471339699622835 0.0509714539027073 0.04882283453262877 0.051527265594055724" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.04882283453262877 0.051527265594055724 C 0.04982389827096273 0.05384919636069817 0.060440476593190184 0.08055631722361825 0.060835599392636296 0.07939043479376501 C 0.060440476593190184 0.08055631722361825 0.04268517440149535 0.06436180641550548 0.04408136093927542 0.06551785475229469" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.04408136093927542 0.06551785475229469 C 0.04445048954635418 0.06802192579360947 0.04786123368379213 0.09666309181239618 0.04851090422422055 0.09556670724807215 C 0.04786123368379213 0.09666309181239618 0.0352665153066272 0.07726678304719235 0.03628531445413438 0.07867446952418311" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.03628531445413438 0.07867446952418311 C 0.035999355791449854 0.08113223981675678 0.031801537994794696 0.10877625439281385 0.03285381050192008 0.10816771303506723 C 0.031801537994794696 0.10877625439281385 0.02289173052418888 0.0841277368823156 0.02365804436862974 0.08597696581714265" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.02365804436862974 0.08597696581714265 C 0.02289173052418888 0.08782619475196969 0.013410005728214028 0.1075591716773206 0.014462278235339413 0.10816771303506723 C 0.013410005728214028 0.1075591716773206 0.01074481562044059 0.07621669923160938 0.011030774283125116 0.07867446952418307" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.011030774283125116 0.07867446952418307 C 0.010011975135617936 0.08008215600117383 -0.0018444860273894512 0.09447032268374807 -0.0011948154869610343 0.0955667072480721 C -0.0018444860273894512 0.09447032268374807 0.0036038564050628777 0.0630137837109799 0.003234727797984115 0.06551785475229469" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M 0.003234727797984115 0.06551785475229469 C 0.0018385412602040397 0.06667390308908389 -0.013914633454822904 0.07822455236391176 -0.013519510655376791 0.07939043479376501 C -0.013914633454822904 0.07822455236391176 -0.0005056820570352792 0.049205334827413266 -0.0015067457953692417 0.05152726559405571" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M -0.0015067457953692417 0.05152726559405571 C -0.003195610365714519 0.052083077285404136 -0.02184395585923503 0.057120586593526056 -0.02177312063951257 0.05819700589023678 C -0.02184395585923503 0.057120586593526056 -0.0007387390814159107 0.036978003045467805 -0.0023567684320387307 0.03861023403352696" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
<path d="M -0.0023567684320387307 0.03861023403352696 C -0.003603123880338689 0.0385317849927268 -0.015145132744915852 0.03577504523317913 -0.017313033811638224 0.037668845543925064 C -0.015145132744915852 0.03577504523317913 0.027072300883652076 0.014069279034629978 0.023658044368629744 0.015884630304575754" fill="none" stroke="#000000" stroke-width="0.001"/>
|
||||
</g></svg>
|
||||
|
After Width: | Height: | Size: 7.3 KiB |
Reference in New Issue
Block a user