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:
220
SlaveMatrix/Assets/Parts/上着トップ/part.yaml
Normal file
220
SlaveMatrix/Assets/Parts/上着トップ/part.yaml
Normal file
@@ -0,0 +1,220 @@
|
||||
id: 上着トップ
|
||||
original_key: 上着トップ
|
||||
resource: 胴体
|
||||
morph_x: 4
|
||||
morph_y: 1
|
||||
variants:
|
||||
- x: 0
|
||||
y: 0
|
||||
file: x0y0.svg
|
||||
- x: 1
|
||||
y: 0
|
||||
file: x1y0.svg
|
||||
- x: 2
|
||||
y: 0
|
||||
file: x2y0.svg
|
||||
- x: 3
|
||||
y: 0
|
||||
file: x3y0.svg
|
||||
fields:
|
||||
- name: 服
|
||||
- name: バスト
|
||||
- name: 襟
|
||||
- name: ポケット左
|
||||
- name: ポケット右
|
||||
- name: フロント
|
||||
- name: 皺
|
||||
- name: ボタン
|
||||
joints:
|
||||
- position: [
|
||||
0.5,
|
||||
0.4951480702968771
|
||||
]
|
||||
- position: [
|
||||
0.5,
|
||||
0.46651004992165607
|
||||
]
|
||||
- position: [
|
||||
0.07254848247970712,
|
||||
0.09678583319297329
|
||||
]
|
||||
- position: [
|
||||
0.11745151752029288,
|
||||
0.09678583319297329
|
||||
]
|
||||
- position: [
|
||||
0.08574068751423099,
|
||||
0.0783918684111818
|
||||
]
|
||||
- position: [
|
||||
0.08566014520624803,
|
||||
0.0783918684111818
|
||||
]
|
||||
- position: [
|
||||
0.03768409112142947,
|
||||
0.05778525341579246
|
||||
]
|
||||
- position: [
|
||||
0.07470766985250746,
|
||||
0.05778525341579246
|
||||
]
|
||||
- position: [
|
||||
0.06097473902225092,
|
||||
0.027441765488605246
|
||||
]
|
||||
- position: [
|
||||
0.0671877604830419,
|
||||
0.04631463097200669
|
||||
]
|
||||
- position: [
|
||||
0.06966674400949215,
|
||||
0.06946197844358637
|
||||
]
|
||||
- position: [
|
||||
0.06717706948177658,
|
||||
0.08572827262036632
|
||||
]
|
||||
- position: [
|
||||
0.05619588048696844,
|
||||
0.029930445865887688
|
||||
]
|
||||
- position: [
|
||||
0.5,
|
||||
0.47506311673470936
|
||||
]
|
||||
- position: [
|
||||
0.5,
|
||||
0.48877820389242177
|
||||
]
|
||||
- position: [
|
||||
0.5,
|
||||
0.5063718026416808
|
||||
]
|
||||
- position: [
|
||||
0.5,
|
||||
0.5243631943274394
|
||||
]
|
||||
- position: [
|
||||
0.49455652639716713,
|
||||
0.4653456143614895
|
||||
]
|
||||
- position: [
|
||||
0.5054434736028328,
|
||||
0.4653456143614895
|
||||
]
|
||||
- position: [
|
||||
0.07232396730450419,
|
||||
0.09815005504138384
|
||||
]
|
||||
- position: [
|
||||
0.11767603269549581,
|
||||
0.09815005504138384
|
||||
]
|
||||
- position: [
|
||||
0.5,
|
||||
0.4950541775443434
|
||||
]
|
||||
- position: [
|
||||
0.5,
|
||||
0.4926088659028696
|
||||
]
|
||||
- position: [
|
||||
0.5,
|
||||
0.5107621313331399
|
||||
]
|
||||
- position: [
|
||||
0.5,
|
||||
0.5284403842918706
|
||||
]
|
||||
- position: [
|
||||
0.022986364471475812,
|
||||
0.028631180590094747
|
||||
]
|
||||
- position: [
|
||||
0.022986364471475812,
|
||||
0.03397235382652867
|
||||
]
|
||||
- position: [
|
||||
0.022986364471475812,
|
||||
0.03874364814136732
|
||||
]
|
||||
- position: [
|
||||
0.022986364471475812,
|
||||
0.042560648084643
|
||||
]
|
||||
- position: [
|
||||
0.022986364471475812,
|
||||
0.022986364471475812
|
||||
]
|
||||
- position: [
|
||||
0.022986364471475812,
|
||||
0.045846381537069984
|
||||
]
|
||||
- position: [
|
||||
0.022986364471475812,
|
||||
0.04912269530270834
|
||||
]
|
||||
- position: [
|
||||
0.4931311383968201,
|
||||
0.5052150599901606
|
||||
]
|
||||
- position: [
|
||||
0.4784973443360055,
|
||||
0.5256397381707782
|
||||
]
|
||||
- position: [
|
||||
0.4780931412971137,
|
||||
0.5316862762347014
|
||||
]
|
||||
- position: [
|
||||
0.5068688616031799,
|
||||
0.5052150599901606
|
||||
]
|
||||
- position: [
|
||||
0.5215026556639943,
|
||||
0.5256397381707782
|
||||
]
|
||||
- position: [
|
||||
0.5219068587028862,
|
||||
0.5316862762347014
|
||||
]
|
||||
- position: [
|
||||
0.05564574782993492,
|
||||
0.117726112569584
|
||||
]
|
||||
- position: [
|
||||
0.04168056943955022,
|
||||
0.08689454992065422
|
||||
]
|
||||
- position: [
|
||||
0.06961092622031961,
|
||||
0.08689454992065422
|
||||
]
|
||||
- position: [
|
||||
0.05564574782993492,
|
||||
0.08323194791212354
|
||||
]
|
||||
- position: [
|
||||
0.021576882785831274,
|
||||
0.02528912136484472
|
||||
]
|
||||
- position: [
|
||||
0.013901683685404042,
|
||||
0.016263631688509472
|
||||
]
|
||||
- position: [
|
||||
0.02609648320221774,
|
||||
0.02528912136484472
|
||||
]
|
||||
- position: [
|
||||
0.03377168230264507,
|
||||
0.016263631688509472
|
||||
]
|
||||
- position: [
|
||||
0.03859736943002123,
|
||||
0.020296716595066593
|
||||
]
|
||||
- position: [
|
||||
0.02967932924550639,
|
||||
0.020296716595066593
|
||||
]
|
||||
Reference in New Issue
Block a user