feat(arm): 建模代码拆成每件一模块,查看器新增工程图与装配步骤页

- src/parts/p01~p09 + src/part_tools.py:几何、件号/配色/说明与装配帧归属随各自件文件走,arm_model.py 只留装配流水线并对件级符号做只读转发;P04_CH / P07_CH / P06_WIN_XZ / FENCE_OPEN_CUT 这类开关必须写所在件文件,写 arm_model.X 不生效,A/B 判据为翻转后体积变化
- docs/sheet_{exploded,front,side,joint}.svg + draw_sheet.py:四张工程图进查看器页签,支持图层开关、件号高亮与 BOM/3D 联动跳转
- travel/travel_detail/collide/bom/screws 随最新几何重生成;补线束走线、拆卸定位点与 P04 承压面剖切验证图
- .gitignore 排除 .bak/ 与 *.bak_* 源码快照(旧版本 git 历史里已有)
This commit is contained in:
cbb
2026-10-14 22:03:18 +08:00
parent c754521bde
commit b0efb44368
72 changed files with 94603 additions and 90905 deletions
+54 -48
View File
@@ -1,9 +1,9 @@
{
"generated": "2026-10-04 02:00:11",
"generated": "2026-10-13 22:00:28",
"vol_min": 2.0,
"step": 2.0,
"combo_step": 6.0,
"workers": 12,
"workers": 20,
"fixture_included": true,
"singles": {
"J1": {
@@ -12,30 +12,30 @@
"jams": {}
},
"J2": {
"lo": -106.25,
"lo": -93.38,
"hi": 10.38,
"jams": {
"12.0": [
[
"P01_A_立柱下段_三角形30%_墙4底5_竖打",
"P08_腕偏转座_螺旋体25%_墙4底5_竖打",
2401.7,
2668.7,
[
-52.9,
149.9,
149.2
137.2,
152.9
]
]
],
"-108.0": [
"-94.0": [
[
"P04_肩叉_螺旋体30%_墙5底5_竖打",
"P05_大臂旋转座_螺旋体30%_墙4底5_竖打",
175.1,
83.6,
[
46.8,
141.0,
532.9
56.7,
133.7,
523.3
]
]
]
@@ -56,7 +56,7 @@
"P09_工具法兰_螺旋体30%_墙4底5_竖打",
6.2,
[
-82.0,
-82.2,
128.0,
116.1
]
@@ -86,9 +86,9 @@
"P09_工具法兰_螺旋体30%_墙4底5_竖打",
11.4,
[
-82.2,
-82.4,
128.0,
140.7
140.6
]
]
],
@@ -99,7 +99,7 @@
144.8,
[
55.5,
139.7,
130.4,
257.0
]
]
@@ -129,8 +129,8 @@
"hold_at": -180.0,
"swept": "J2",
"direction": "lo",
"old": -106.25,
"new": -103.0,
"old": -93.375,
"new": -91.0,
"jams": {}
},
{
@@ -246,7 +246,7 @@
{
"pass_": 0,
"hold": "J2",
"hold_at": -103.0,
"hold_at": -91.0,
"swept": "J1",
"direction": "hi",
"old": 180.0,
@@ -256,7 +256,7 @@
{
"pass_": 0,
"hold": "J2",
"hold_at": -103.0,
"hold_at": -91.0,
"swept": "J3",
"direction": "hi",
"old": 173.0,
@@ -266,7 +266,7 @@
{
"pass_": 0,
"hold": "J2",
"hold_at": -103.0,
"hold_at": -91.0,
"swept": "J4",
"direction": "hi",
"old": 5.0,
@@ -276,7 +276,7 @@
{
"pass_": 0,
"hold": "J2",
"hold_at": -103.0,
"hold_at": -91.0,
"swept": "J5",
"direction": "hi",
"old": 23.0,
@@ -286,7 +286,7 @@
{
"pass_": 0,
"hold": "J2",
"hold_at": -103.0,
"hold_at": -91.0,
"swept": "J6",
"direction": "hi",
"old": 173.0,
@@ -328,7 +328,7 @@
"P09_工具法兰_螺旋体30%_墙4底5_竖打",
6.2,
[
-82.0,
-82.2,
128.0,
116.1
]
@@ -351,7 +351,7 @@
"P09_工具法兰_螺旋体30%_墙4底5_竖打",
6.2,
[
-82.0,
-82.2,
128.0,
116.1
]
@@ -374,7 +374,7 @@
"P09_工具法兰_螺旋体30%_墙4底5_竖打",
11.4,
[
-82.2,
-82.4,
128.0,
140.6
]
@@ -397,7 +397,7 @@
"P09_工具法兰_螺旋体30%_墙4底5_竖打",
11.4,
[
-82.2,
-82.4,
128.0,
140.6
]
@@ -450,7 +450,7 @@
"P09_工具法兰_螺旋体30%_墙4底5_竖打",
186.7,
[
-83.0,
-83.1,
104.7,
120.8
]
@@ -473,7 +473,7 @@
"P09_工具法兰_螺旋体30%_墙4底5_竖打",
186.7,
[
-83.0,
-83.1,
104.7,
120.8
]
@@ -549,8 +549,8 @@
"P09_工具法兰_螺旋体30%_墙4底5_竖打",
52.0,
[
-82.4,
104.8,
-82.5,
104.7,
117.4
]
]
@@ -561,8 +561,8 @@
"P09_工具法兰_螺旋体30%_墙4底5_竖打",
52.0,
[
-82.4,
151.2,
-82.5,
151.3,
117.4
]
]
@@ -584,8 +584,8 @@
"P09_工具法兰_螺旋体30%_墙4底5_竖打",
52.0,
[
-82.4,
104.8,
-82.5,
104.7,
117.4
]
]
@@ -596,8 +596,8 @@
"P09_工具法兰_螺旋体30%_墙4底5_竖打",
52.0,
[
-82.4,
151.2,
-82.5,
151.3,
117.4
]
]
@@ -897,7 +897,7 @@
{
"pass_": 1,
"hold": "J2",
"hold_at": -103.0,
"hold_at": -91.0,
"swept": "J1",
"direction": "hi",
"old": 143.0,
@@ -907,7 +907,7 @@
{
"pass_": 1,
"hold": "J2",
"hold_at": -103.0,
"hold_at": -91.0,
"swept": "J3",
"direction": "hi",
"old": 131.0,
@@ -917,7 +917,7 @@
{
"pass_": 1,
"hold": "J2",
"hold_at": -103.0,
"hold_at": -91.0,
"swept": "J4",
"direction": "hi",
"old": 0.0,
@@ -927,7 +927,7 @@
{
"pass_": 1,
"hold": "J2",
"hold_at": -103.0,
"hold_at": -91.0,
"swept": "J5",
"direction": "hi",
"old": 0.0,
@@ -937,7 +937,7 @@
{
"pass_": 1,
"hold": "J2",
"hold_at": -103.0,
"hold_at": -91.0,
"swept": "J6",
"direction": "hi",
"old": 131.0,
@@ -1252,15 +1252,17 @@
"hi": 180.0,
"continuous": true,
"zero": 0.0,
"note": "整周无干涉,可 360° 连续旋转(全对全动态扫描验证)"
"combo_warn_deg": null,
"note": "单轴整周无干涉(滑块按单轴限位给出);组合扫描未发现该轴卡死"
},
{
"axis": "J2",
"lo": -105.0,
"lo": -92.0,
"hi": 9.0,
"continuous": false,
"zero": 0.0,
"note": "正向 +9° / 反向 -105°,总行程 114°(全对全动态扫描验证,含相邻件与电机)"
"combo_warn_deg": null,
"note": "单轴正向 +9° / 反向 -92°,总行程 101°(单关节硬限位,含相邻件与电机)"
},
{
"axis": "J3",
@@ -1268,7 +1270,8 @@
"hi": 180.0,
"continuous": true,
"zero": 0.0,
"note": "整周无干涉,可 360° 连续旋转(全对全动态扫描验证)"
"combo_warn_deg": 162.0,
"note": "单轴整周无干涉(滑块按单轴限位给出);组合折叠姿态下(其余关节同时处于各自极限)约 ±162° 起与躯干占位(台架 P01 立柱)干涉,见 travel_detail.combos,运行期由查看器碰撞模型按姿态夹取"
},
{
"axis": "J4",
@@ -1276,7 +1279,8 @@
"hi": 16.0,
"continuous": false,
"zero": 0.0,
"note": "正向 +16° / 反向 -111°,总行程 127°(全对全动态扫描验证,含相邻件与电机)"
"combo_warn_deg": 18.0,
"note": "单轴正向 +16° / 反向 -111°,总行程 127°(单关节硬限位,含相邻件与电机);组合折叠姿态下(其余关节同时处于各自极限)约 ±18° 起与躯干占位(台架 P01 立柱)干涉,见 travel_detail.combos,运行期由查看器碰撞模型按姿态夹取"
},
{
"axis": "J5",
@@ -1284,7 +1288,8 @@
"hi": 34.0,
"continuous": false,
"zero": 0.0,
"note": "正向 +34° / 反向 -93°,总行程 127°(全对全动态扫描验证,含相邻件与电机)"
"combo_warn_deg": 36.0,
"note": "单轴正向 +34° / 反向 -93°,总行程 127°(单关节硬限位,含相邻件与电机);组合折叠姿态下(其余关节同时处于各自极限)约 ±36° 起与躯干占位(台架 P01 立柱)干涉,见 travel_detail.combos,运行期由查看器碰撞模型按姿态夹取"
},
{
"axis": "J6",
@@ -1292,7 +1297,8 @@
"hi": 180.0,
"continuous": true,
"zero": 0.0,
"note": "整周无干涉,可 360° 连续旋转(全对全动态扫描验证)"
"combo_warn_deg": null,
"note": "单轴整周无干涉(滑块按单轴限位给出);组合扫描未发现该轴卡死"
}
]
}