This commit is contained in:
2026-05-25 10:16:05 +08:00
parent 459ad50c08
commit 63bee26ab8
7 changed files with 369 additions and 32 deletions
+4 -5
View File
@@ -253,7 +253,7 @@ class SliderMechanismDesigner:
"block_size": slide_block_size,
"guide_type": guide_type,
"locking_mechanism": self._select_locking(slide_angle),
"actuation": "hydraulic" if slide_stroke > 50 else "mechanical",
"actuation": "pneumatic" if slide_stroke > 50 else "mechanical",
"components": self._generate_components(slide_block_size, guide_type),
"manufacturing_notes": self._generate_slider_notes(slide_angle, slide_stroke),
}
@@ -341,7 +341,7 @@ class SliderMechanismDesigner:
if angle > 25:
notes.append("滑块角度较大,需确保锁紧可靠")
if stroke > 50:
notes.append("抽芯行程较长,建议使用液压抽芯")
notes.append("抽芯行程较长,建议使用气动抽芯")
if stroke > 80:
notes.append("大行程抽芯,需校核导滑槽强度")
notes.append("滑块需设置限位装置,防止脱出")
@@ -485,7 +485,6 @@ class SideActionDesigner:
"total_lifter_count": len(lifter_mechanisms),
"total_mechanism_count": total_mechanisms,
"complexity": undercut_result["complexity"],
"has_hydraulic": any(s.get("actuation") == "hydraulic" for s in slider_mechanisms),
}
recommendations = self._generate_overall_recommendations(summary, undercut_result)
@@ -518,8 +517,8 @@ class SideActionDesigner:
if summary["total_lifter_count"] > 0:
recs.append(f"需要 {summary['total_lifter_count']} 个斜顶机构处理内侧倒扣")
if summary["has_hydraulic"]:
recs.append("大行程抽芯需使用液压系统,需配置液压站")
if summary["total_slider_count"] > 0:
recs.append("如存在大行程滑块,建议优先评估气动抽芯回路并预留稳定供气")
if summary["complexity"] == "very_complex":
recs.append("侧向分型机构复杂,建议评估是否可通过产品修改简化")