新增四类连杆统一仿真接口

This commit is contained in:
zhangshun
2026-06-16 11:40:58 +08:00
parent a66952e636
commit f142b42dbe
9 changed files with 940 additions and 248 deletions

View File

@@ -0,0 +1,16 @@
{
"msg": "fourbar unified simulate PRRR",
"req_code": "CASE_FB_UNIFIED_PRRR",
"req_from": "wasm_test",
"req_cmd": "Cmd_FourBar_Simulate",
"req_param": {
"mechanismType": "PRRR",
"L_AB": 0.5,
"L_BS": 2.0,
"S_OFS": 0.0,
"startSliderX": 1.5,
"endSliderX": 2.5,
"duration": 1.0,
"stepTime": 0.25
}
}

View File

@@ -0,0 +1,16 @@
{
"msg": "fourbar unified simulate RPRR",
"req_code": "CASE_FB_UNIFIED_RPRR",
"req_from": "wasm_test",
"req_cmd": "Cmd_FourBar_Simulate",
"req_param": {
"mechanismType": "RPRR",
"OA": 1.0,
"AB": 3.0,
"OC": 3.0,
"startAngleDeg": 0.0,
"endAngleDeg": 180.0,
"duration": 1.0,
"stepTime": 0.25
}
}

View File

@@ -0,0 +1,16 @@
{
"msg": "fourbar unified simulate RRRP",
"req_code": "CASE_FB_UNIFIED_RRRP",
"req_from": "wasm_test",
"req_cmd": "Cmd_FourBar_Simulate",
"req_param": {
"mechanismType": "RRRP",
"L_AB": 0.5,
"L_BS": 2.0,
"S_OFS": 0.0,
"startAngleDeg": 0.0,
"endAngleDeg": 180.0,
"duration": 1.0,
"stepTime": 0.25
}
}

View File

@@ -0,0 +1,17 @@
{
"msg": "fourbar unified simulate RRRR",
"req_code": "CASE_FB_UNIFIED_RRRR",
"req_from": "wasm_test",
"req_cmd": "Cmd_FourBar_Simulate",
"req_param": {
"mechanismType": "RRRR",
"L1": 1.0,
"L2": 3.0,
"L3": 2.5,
"L4": 3.5,
"startAngleDeg": 0.0,
"endAngleDeg": 180.0,
"duration": 1.0,
"stepTime": 0.25
}
}