Files
design2garmentcode-impl/assets/Patterns/shirt_mean_specification.json

1058 lines
20 KiB
JSON
Raw Normal View History

2025-07-03 17:03:00 +08:00
{
"pattern": {
"panels": {
"left_btorso": {
"translation": [
0.0,
94.66024668570651,
-20.0
],
"rotation": [
0.0,
0.0,
0.0
],
"vertices": [
[
0.0,
0.0
],
[
0.0,
40.58043003350011
],
[
12.8474,
45.89674322821761
],
[
17.228400000000004,
44.155306096702866
],
[
17.28924306871916,
43.41003858511645
],
[
26.221855,
26.140246096702864
],
[
26.221855,
0.0
]
],
"edges": [
{
"endpoints": [
0,
1
]
},
{
"endpoints": [
1,
2
],
"curvature": {
"type": "quadratic",
"params": [
[
0.15000000000000002,
-0.1
]
]
}
},
{
"endpoints": [
2,
3
]
},
{
"endpoints": [
3,
4
],
"curvature": {
"type": "cubic",
"params": [
[
0.3362996181255371,
0.00035561086727752493
],
[
0.6696413214557415,
0.000304683330208262
]
]
}
},
{
"endpoints": [
4,
5
],
"curvature": {
"type": "cubic",
"params": [
[
0.49354586181258675,
-0.2068129166538814
],
[
0.7926359002814091,
-0.3511169364913611
]
]
}
},
{
"endpoints": [
5,
6
]
},
{
"endpoints": [
6,
0
]
}
]
},
"left_ftorso": {
"translation": [
0.0,
94.57103829637592,
25.0
],
"rotation": [
0.0,
0.0,
0.0
],
"vertices": [
[
0.0,
0.0
],
[
28.690530000000003,
0.0
],
[
28.690530000000003,
26.22945508918822
],
[
27.9380061020118,
26.212914946368773
],
[
17.2284,
44.244515089188226
],
[
12.8474,
45.985951591486455
],
[
0.0,
31.758244447465778
]
],
"edges": [
{
"endpoints": [
0,
1
]
},
{
"endpoints": [
1,
2
]
},
{
"endpoints": [
2,
3
],
"curvature": {
"type": "cubic",
"params": [
[
0.3428096078203796,
0.008753178295583862
],
[
0.676031583087778,
0.008715531749032087
]
]
}
},
{
"endpoints": [
3,
4
],
"curvature": {
"type": "cubic",
"params": [
[
0.19372096202165834,
0.322540122492371
],
[
0.5003726893654397,
0.1822675025368038
]
]
}
},
{
"endpoints": [
4,
5
]
},
{
"endpoints": [
5,
6
],
"curvature": {
"type": "quadratic",
"params": [
[
0.5,
0.3
]
]
}
},
{
"endpoints": [
6,
0
]
}
]
},
"left_sleeve_f": {
"translation": [
53.57347770869189,
111.1086631392047,
17.5
],
"rotation": [
0.0,
0.0,
-50.48299999999997
],
"vertices": [
[
0.0,
0.0
],
[
-31.204774210476085,
0.0
],
[
-22.76492578952392,
-21.25900713751968
],
[
0.0,
-21.25900713751968
]
],
"edges": [
{
"endpoints": [
0,
1
]
},
{
"endpoints": [
1,
2
],
"curvature": {
"type": "cubic",
"params": [
[
0.3973662914003405,
-0.1498416610988617
],
[
0.6591952002566281,
0.025928691992446788
]
]
}
},
{
"endpoints": [
2,
3
]
},
{
"endpoints": [
3,
0
]
}
]
},
"left_sleeve_b": {
"translation": [
53.57347770869189,
111.1086631392047,
-12.5
],
"rotation": [
0.0,
0.0,
-50.48299999999997
],
"vertices": [
[
0.0,
0.0
],
[
0.0,
-21.259007137519678
],
[
-22.76492578952392,
-21.259007137519678
],
[
-23.017812246669145,
-20.549928308877696
],
[
-31.2062986511695,
-0.7477987993325925
],
[
-31.20477421047608,
0.0
]
],
"edges": [
{
"endpoints": [
0,
1
]
},
{
"endpoints": [
1,
2
]
},
{
"endpoints": [
2,
3
],
"curvature": {
"type": "cubic",
"params": [
[
0.3381422696745128,
-0.00675750744885745
],
[
0.6713298287607794,
-0.006552681033887989
]
]
}
},
{
"endpoints": [
3,
4
],
"curvature": {
"type": "cubic",
"params": [
[
0.33975451217196817,
-0.010056311234005784
],
[
0.5517725654386645,
0.1796260847071758
]
]
}
},
{
"endpoints": [
4,
5
],
"curvature": {
"type": "cubic",
"params": [
[
0.3382675258169162,
0.005087462690011052
],
[
0.6715360336122662,
0.00501956287580371
]
]
}
},
{
"endpoints": [
5,
0
]
}
]
},
"right_ftorso": {
"translation": [
0.0,
94.57103829637592,
25.0
],
"rotation": [
0.0,
0.0,
0.0
],
"vertices": [
[
0,
0
],
[
0.0,
31.758244447465778
],
[
-12.8474,
45.985951591486455
],
[
-17.2284,
44.244515089188226
],
[
-27.9380061020118,
26.212914946368773
],
[
-28.690530000000003,
26.22945508918822
],
[
-28.690530000000003,
0
]
],
"edges": [
{
"endpoints": [
0,
1
]
},
{
"endpoints": [
1,
2
],
"curvature": {
"type": "quadratic",
"params": [
[
0.5,
0.3
]
]
}
},
{
"endpoints": [
2,
3
]
},
{
"endpoints": [
3,
4
],
"curvature": {
"type": "cubic",
"params": [
[
0.49962731063456034,
0.1822675025368038
],
[
0.8062790379783417,
0.322540122492371
]
]
}
},
{
"endpoints": [
4,
5
],
"curvature": {
"type": "cubic",
"params": [
[
0.323968416912222,
0.008715531749032087
],
[
0.6571903921796204,
0.008753178295583862
]
]
}
},
{
"endpoints": [
5,
6
]
},
{
"endpoints": [
6,
0
]
}
]
},
"right_sleeve_b": {
"translation": [
-53.57347770869188,
111.10866313920468,
-12.5
],
"rotation": [
0.0,
0.0,
50.48299999999997
],
"vertices": [
[
0,
0
],
[
31.20477421047608,
0.0
],
[
31.2062986511695,
-0.7477987993325925
],
[
23.017812246669145,
-20.549928308877696
],
[
22.76492578952392,
-21.259007137519678
],
[
0,
-21.259007137519678
]
],
"edges": [
{
"endpoints": [
0,
1
]
},
{
"endpoints": [
1,
2
],
"curvature": {
"type": "cubic",
"params": [
[
0.3284639663877338,
0.00501956287580371
],
[
0.6617324741830838,
0.005087462690011052
]
]
}
},
{
"endpoints": [
2,
3
],
"curvature": {
"type": "cubic",
"params": [
[
0.44822743456133546,
0.1796260847071758
],
[
0.6602454878280318,
-0.010056311234005784
]
]
}
},
{
"endpoints": [
3,
4
],
"curvature": {
"type": "cubic",
"params": [
[
0.32867017123922065,
-0.006552681033887989
],
[
0.6618577303254872,
-0.00675750744885745
]
]
}
},
{
"endpoints": [
4,
5
]
},
{
"endpoints": [
5,
0
]
}
]
},
"right_sleeve_f": {
"translation": [
-53.57347770869188,
111.10866313920468,
17.5
],
"rotation": [
0.0,
0.0,
50.48299999999997
],
"vertices": [
[
0,
0
],
[
0,
-21.25900713751968
],
[
22.76492578952392,
-21.25900713751968
],
[
31.204774210476085,
0.0
]
],
"edges": [
{
"endpoints": [
0,
1
]
},
{
"endpoints": [
1,
2
]
},
{
"endpoints": [
2,
3
],
"curvature": {
"type": "cubic",
"params": [
[
0.3408047997433718,
0.025928691992446788
],
[
0.6026337085996595,
-0.1498416610988617
]
]
}
},
{
"endpoints": [
3,
0
]
}
]
},
"right_btorso": {
"translation": [
0.0,
94.66024668570651,
-20.0
],
"rotation": [
0.0,
0.0,
0.0
],
"vertices": [
[
0,
0
],
[
-26.221855,
0
],
[
-26.221855,
26.140246096702864
],
[
-17.28924306871916,
43.41003858511645
],
[
-17.228400000000004,
44.155306096702866
],
[
-12.8474,
45.89674322821761
],
[
0.0,
40.58043003350011
]
],
"edges": [
{
"endpoints": [
0,
1
]
},
{
"endpoints": [
1,
2
]
},
{
"endpoints": [
2,
3
],
"curvature": {
"type": "cubic",
"params": [
[
0.2073640997185909,
-0.3511169364913611
],
[
0.5064541381874132,
-0.2068129166538814
]
]
}
},
{
"endpoints": [
3,
4
],
"curvature": {
"type": "cubic",
"params": [
[
0.3303586785442585,
0.000304683330208262
],
[
0.6637003818744629,
0.00035561086727752493
]
]
}
},
{
"endpoints": [
4,
5
]
},
{
"endpoints": [
5,
6
],
"curvature": {
"type": "quadratic",
"params": [
[
0.85,
-0.1
]
]
}
},
{
"endpoints": [
6,
0
]
}
]
}
},
"stitches": [
[
{
"panel": "left_sleeve_f",
"edge": 0
},
{
"panel": "left_sleeve_b",
"edge": 5
}
],
[
{
"panel": "left_sleeve_f",
"edge": 2
},
{
"panel": "left_sleeve_b",
"edge": 1
}
],
[
{
"panel": "left_sleeve_f",
"edge": 1
},
{
"panel": "left_ftorso",
"edge": 3
}
],
[
{
"panel": "left_sleeve_b",
"edge": 2
},
{
"panel": "left_ftorso",
"edge": 2
}
],
[
{
"panel": "left_sleeve_b",
"edge": 3
},
{
"panel": "left_btorso",
"edge": 4
}
],
[
{
"panel": "left_sleeve_b",
"edge": 4
},
{
"panel": "left_btorso",
"edge": 3
}
],
[
{
"panel": "left_ftorso",
"edge": 4
},
{
"panel": "left_btorso",
"edge": 2
}
],
[
{
"panel": "left_ftorso",
"edge": 1
},
{
"panel": "left_btorso",
"edge": 5
}
],
[
{
"panel": "right_sleeve_f",
"edge": 3
},
{
"panel": "right_sleeve_b",
"edge": 0
}
],
[
{
"panel": "right_sleeve_f",
"edge": 1
},
{
"panel": "right_sleeve_b",
"edge": 4
}
],
[
{
"panel": "right_sleeve_f",
"edge": 2
},
{
"panel": "right_ftorso",
"edge": 3
}
],
[
{
"panel": "right_sleeve_b",
"edge": 3
},
{
"panel": "right_ftorso",
"edge": 4
}
],
[
{
"panel": "right_sleeve_b",
"edge": 2
},
{
"panel": "right_btorso",
"edge": 2
}
],
[
{
"panel": "right_sleeve_b",
"edge": 1
},
{
"panel": "right_btorso",
"edge": 3
}
],
[
{
"panel": "right_ftorso",
"edge": 2
},
{
"panel": "right_btorso",
"edge": 4
}
],
[
{
"panel": "right_ftorso",
"edge": 5
},
{
"panel": "right_btorso",
"edge": 1
}
],
[
{
"panel": "right_ftorso",
"edge": 0
},
{
"panel": "left_ftorso",
"edge": 6
}
],
[
{
"panel": "right_btorso",
"edge": 6
},
{
"panel": "left_btorso",
"edge": 0
}
]
],
"panel_order": [
"right_sleeve_b",
"right_sleeve_f",
"right_btorso",
"right_ftorso",
"left_btorso",
"left_ftorso",
"left_sleeve_b",
"left_sleeve_f"
]
},
"parameters": {},
"parameter_order": [],
"properties": {
"curvature_coords": "relative",
"normalize_panel_translation": false,
"normalized_edge_loops": true,
"units_in_meter": 100
}
}