Arguments parser in hpe_json.py

This commit is contained in:
Arkadiy Strelnikov
2021-11-29 14:28:49 +07:00
parent 5459e0f0ce
commit bee2dfa944
3 changed files with 540 additions and 20 deletions

434
hierarchy_data.json Normal file
View File

@@ -0,0 +1,434 @@
{
"hip_r": {
"visible": 3.283990008640103e-05,
"translation": {
"x": 0.23185212236810918,
"y": 0.00371596784027843,
"z": -1.3490804656954876
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"hip_l": {
"visible": 3.066848512389697e-05,
"translation": {
"x": 0.49386722361764196,
"y": -0.004551878615287206,
"z": -1.3717949211023943
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"root": {
"visible": 1.0,
"translation": {
"x": 0.32104200438618696,
"y": -2.4274882656989587,
"z": 1.2036544053764062
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"pelvis": {
"visible": 3.1754192605149e-05,
"translation": {
"x": 0.32104200438618696,
"y": 0.00036978822761340243,
"z": 1.2036544053764062
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"head": {
"visible": 1.0,
"translation": {
"x": 0.4018470055921379,
"y": 1.4863796147074047,
"z": -0.49572140460617947
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"spine_01": {
"visible": 0.9558884007726984,
"translation": {
"x": 0.3523824967200987,
"y": 1.2570843949458836,
"z": -0.3722668270030201
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"spine_02": {
"visible": 0.8642053121876015,
"translation": {
"x": 0.3458276216245312,
"y": 1.136539767039317,
"z": -0.23441402075809645
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"spine_03": {
"visible": 0.7177959614459576,
"translation": {
"x": 0.335360096787125,
"y": 0.9440412269098308,
"z": -0.014275932352623016
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"spine_04": {
"visible": 0.5484203400028553,
"translation": {
"x": 0.323250600260258,
"y": 0.7213467084507186,
"z": 0.24039376830583514
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"spine_05": {
"visible": 0.2289994832763534,
"translation": {
"x": 0.3004136316210739,
"y": 0.30137320064339257,
"z": 0.7206683985833275
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"knee_r": {
"visible": 0.021311474964022636,
"translation": {
"x": 0.224715555879875,
"y": 0.04331640486588048,
"z": -1.848822215632786
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"knee_l": {
"visible": 0.01792996935546398,
"translation": {
"x": 0.479653365369021,
"y": 0.04956380758879055,
"z": -1.8599454030851834
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"ankle_r": {
"visible": 0.004003077745437622,
"translation": {
"x": 0.22040579799855411,
"y": -0.6035946591415875,
"z": -2.2528606986185435
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"ankle_l": {
"visible": 0.005025549326092005,
"translation": {
"x": 0.46486163125941043,
"y": -0.49356652566551906,
"z": -2.266784775168302
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"ball_r": {
"visible": 0.0033030910417437553,
"translation": {
"x": 0.2533501274660685,
"y": -0.2277205314512301,
"z": -2.4257652906916354
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"ball_l": {
"visible": 0.007918210700154305,
"translation": {
"x": 0.4167605323921076,
"y": -0.07112429439358949,
"z": -2.4274882656989587
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"heel_r": {
"visible": 0.003357355482876301,
"translation": {
"x": 0.214153237082301,
"y": -0.6405563543831717,
"z": -2.3297296844741737
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"heel_l": {
"visible": 0.009946711361408234,
"translation": {
"x": 0.4684025052154504,
"y": -0.5260255564826632,
"z": -2.3472397765876565
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"shoulder_r": {
"visible": 0.9999551773071289,
"translation": {
"x": 0.18561357625361946,
"y": 0.7721517346988932,
"z": -0.69730114825041
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"shoulder_l": {
"visible": 0.9999798536300659,
"translation": {
"x": 0.60345881243435,
"y": 0.7539580847363371,
"z": -0.7356984098989899
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"clavicle_r": {
"visible": 0.3903829998635262,
"translation": {
"x": 0.29915971923785645,
"y": 0.6344740294859538,
"z": 0.30770636512969557
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"clavicle_l": {
"visible": 0.45094530122838333,
"translation": {
"x": 0.3989762273134593,
"y": 0.6323009442726204,
"z": 0.3072717480870289
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"elbow_r": {
"visible": 0.3276873528957367,
"translation": {
"x": 0.09727160822155982,
"y": 0.6303470208087711,
"z": -1.0638687217845344
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
},
"elbow_l": {
"visible": 0.3048570454120636,
"translation": {
"x": 0.6504693670538582,
"y": 0.5472289809491672,
"z": -1.1147813886926048
},
"rotation": {
"rotx": 0,
"roty": 0,
"rotz": 0
},
"scale": {
"x": 1.0,
"y": 1.0,
"z": 1.0
}
}
}